UNPKG

ember-arcgis-page-layout

Version:

Page Layout infrastructure components

196 lines (164 loc) 6.78 kB
# Change Log All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). ## 0.7.3 ### Fixed - Dropping a card above or below itself positions it unexpectedly ### Changed - Configured for monorepo ## 0.7.2 ### Changed - Added Iframe-card icon ## 0.7.1 ### Changed - changes to support removal of baseUrl ## 0.7.0 ### Changed - Upgrade to ember 2.8 ## 0.6.14 ### Changed - Card editors now get the site model as `site` ## 0.6.13 ### Fixed - Fix linting errors ## 0.6.12 ### Fixed - Card icon paths ## 0.6.11 - Not released ## 0.6.10 - Not released ## 0.6.9 ### Added - Darken Image checkbox to the section-style-editor - css rule to apply 40% darkening to section background images if that option is selected - added `.getById` to Page service, which returns hash :`{item:<itemobj>, data:<dataobj>}` ## 0.6.8 - Yanked ## 0.6.7 ### Changes - send 'onModelChanged' action when cards/rows/sections are added/re/moved ### Support - configure ember-cli-release to point to origin ## 0.6.6 ### Added - `page-editor` control - bubble the onPageSave and onPageView actions up out of `page-editor` - pass placeableCards to `page-editor` vs calling `.getPageCards` on a service. ### Changes - removed more logging/debugging/whitespace from other components - `page-editor` calls `placeableCards.getPageCards()` instead of just `.getCards()` so we can differentiate between the cards available for Pages and Layouts - bumped to node 6.3.0 in `.nvmrc` and `.travis.yml` - optional `i18nScope` property on `page-editor` and `page-save-controls` ## 0.6.5 ### Changes - `section-style-editor` connects to theme-editor to get/edit theme and request css updates - right-align card controls - section controls moved down to align with card controls - `layout-section` respects `.isFooter` - `page-save-controls.scss` sets buttons to 48% width to account for longer text ## 0.6.4 ### Changes - fixed linting error that blocked CI. ## 0.6.3 ### Changes - clicking on card controls edit button opens editor - updates styles for jumbotron editor - show confirm dialog before removing a card - blue outline appears around all edges of highlighted section - prevent dragging card images from drawer (in FF) - make `bs-accordion-panel`s correctly close when another is opened - change `layout-coordinator` mouse event handlers to listen on `html` instead of `body` for much jank reduction - remove Preview from `page-save-controls` - remove isPublic requirement from View Site on `page-save-controls` ## 0.6.2 ### Changes - update bs-drawer and page-save-controls UI to match design - prevent dropping a card on another card with width = 1 - prevent resizing below a width of 1 - eliminate issue where drawer would open when first interaction is the drag of a card. ## 0.6.1 ### Added - page-layout-editor can bubble `onDragStart` event to consumer. - Page body component for editing or previewing page - added section style editor component with - color picker bound to background color - url input bound to background image - added settings editor container in drawer where editor controls get injected - added util function for parsing section style from hash - moved `card-list` into this addon - `card-list` icons - added support for optional `classname` param on a section - user can set section font color as well as background ### Changes - reduced card-swatch styles while we finalize it's design - Correct name/styles for empty section drop target - Default drop target styles to display:none - ensure that at least one section exists in the model passed to `page-layout-editor` - add ember-intl to the project so we can use `{{t 'translation-key'}}` instead of trying to pass i18n strings down a stack of components - moved scss files into `styles/components` folder in prep for removing them from the `addon.scss` file - added styles for empty section - `card-controls` style defaults to display:none; - clicking on settings cog of section controls bubbles up the action to start editing section styles - removed unused reference to bs-drawer.scss - tucked the top & bottom drop targets "inside" the containing card, making it much easier to mouse over predictably. - `drop-preview` component now uses i18n strings passed in through `page-layout-editor` - changed edit icon to a pencil - renamed `accordion-panel` to `bs-accordion-panel` - styling changes to make the `bs-drawer` match designs - `card-resizer` now only shows one arrow, "pulling" the side of the active card "in" - return to using cog icon in `card-controls` and `section-controls` - make `card-controls` vertical, and docked right in card. - minor tweaks for `section-style-editor` and `bs-drawer` scss - `bs-drawer` listens to `showDrawer` on event-bus - notify controller of changes to model when editing section styles - changed i18n keys in `page-save-controls` template - updated `page-save-controls` template to better match design - passed `onSearch=onSearch` down the layout stack during render - when user is removing last section, replace w/ an empty section - FOR BETA: Removed section-as-footer - FOR UC: Save button always enabled Issue: https://github.com/ArcGIS/composer/issues/11323 - remove mouse location from `drop-preview` - add `theme` to `siteSettingsService` output - push `theme` into header so logo can be used on custom sites ## 0.5.0 ### Added - Integrated drag and drop section, row, and card components ## 0.4.0 ### Added - Added ability to add/remove rows from the page ## 0.3.0 ### Added - Added `ember-cli-intl` to the addon. Translations live in `/translations/en-us.json` - Added `ember-cli-sass` to the addon. It will pull in scss files in `/addon/styles` - Added `bs-drawer` component + js + sass ### Changed - layout row style editor styles included in sass - wire up save button, and enable only if model is dirty - use 2 way binding for background-color instead of immutable style obj ## Support - dummy app actually saves record - all tests passing or skipped ## 0.2.1 ### Changed - layout row style editor updates model when user selects color - using event bus to notify page-editor of model updates and page-editor sets updatedAt ### Support - dummy app page routes getting model by id - dummy app can save model changes ## [0.2.0] ### Added - page layout and row components (editing controls not wired up yet) - helper to convert style JSON to CSS ## [0.1.0] ### Added - event bus service - showing body-editor at page route ### Changed - default to pods structure - fix or skip broken tests ## [0.0.1] ### Added - initial scaffolding of the addon and dummy - added `ember-data-arcgis-opendata` - added in pages routes - swapped to qaext until we can get the pages api on prod