-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow to store custom map themes (authenticathed users) (#540)
* Clean code * Clean code * Add layerstree prop to CatalogChangeMapThemes.vue component * Add save section to CatalogChangeMapThemes.vue * Create constant with node and group attributes to send to server * Clean code * Clean code * Clean code * Clean code * Add i18nLabel in input state object to translate label of icon changing language * Add input label translation of new map theme * Remove padding of input text component * Start dev replication of user map theme (DEV) * Add name and expandedattribute for save map theme of user * Clean code * On save send layerstree and style to server. TO DO * 🌐 Add translation * Clean code - Readability * DEV - print params to send to server api * 🌐 Add map theme save, delete and question. Need to translate se, de, fi, ro, fr. * ✨ Add delete XHR method * ✨ Add saveTheme and deleteTheme. Consider map_themes as object contain project and custom attribute * ✨ Take in account map_theme object structure * 💄 less shadow * 💄 add calss to align sidebar button * Remove unuseful canSave attribute. Use valid intead of input * Add cursor: pointer to sidebar-button class * 💄 change style * 💄 change style * jsdoc * invalid jsdoc: `@return` → `@returns` * decrease box-shadow: `.editbtn` * remove unusued method: `mounted` * code indentation * 💄 reduce padding * i18n * refactor `CatalogChangeMapThemes.vue` * inline foor loop * add `v-t-tooltip` * Add categories to save parameters and onec save custom map theme set activated * Change name more concise * In case of anonymous user, custom map theme section is hide and user can't save custom map theme * ✨ Update custom map theme * 🐛 Fix show map theme cutom #540 (comment) * `save` → `saveTheme` * avoid caching `config.layerstree` * ♻️ store update layerstree custom map theme to avoit to do a new server request * 🎨 Readibility * ✨ Add error message validato for name map theme and translations * ✨ Add new check validator type (bigint) and fix change language validator error message * ✨ Add chart and varchar validator type * ✨ Change i18n errors message translation on change language * 🎨 Clean code. Readibility * `chart` → `char` * wrong variable: `this.state.atlas_values` → `this.atlas_values` * re-initialize select2 fields after changing template * 🐛 Fix atlas template. Disable print button if no value is provided. Stop loading afet download print layout from server * 🐛 Fix base layer custom icon missing --------- Co-authored-by: Raruto <[email protected]>
- Loading branch information
1 parent
e2b0244
commit b2f7024
Showing
28 changed files
with
862 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.