-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update graphql types * Create route and page for categories settings * Create initial data structures * Add categories field to community * Use correct Community-Domain header when possible * Implement basic categories view * Add basic tree view, with support to adding nested and root categories * Update graphql types * Include parentId in Category.Model, remove recursive selectionSet * Better tree view, highlight parents when hovering * Remove unused export * Create parent-* variants * Add ability to update categories * Make Icons.trash color configurable * Create wrapper around DeleteStatus * Add ability to delete categories * Improve errors, update community model after completing operations * Leave form open after creating new category * Rework deletion status to allow multiple simultaneous deletions, add back button * Restrict page to admins * Restructure html to have more semantic lists * Leave summaries highlighted while category creation form is open, transition colors * Use markdown for category description * Change bg, add basic actions panel * Create updateMetadata, include slug in category model * Add metadata form with a nice little preview ✨ * Use skeleton loading, adjust spacings * Prevent selection and text wrap * Add drag-drop-touch polyfill * Update graphql types * Update parentId -> parent * Implement basic drag and drop functionality * Show valid drop zones, perform validations * Refactor isAncestorOf * Expand categories when dragging over them * Listen to dragLeave event * Perform mutation when dropping elements * Allow moving categories to the root * Refactor mutations to use the optionals object * Fix according to elm-review * Add move up and down buttons, implement move up * Implement move down * Expand categories when moving child * Hide move up and down buttons when it's not possible to go up or down * Initialize metadata form with category data, close modal when done saving * Add settings card * Add ids to description input id * Fix rich text editor bug on safari, fix borders * Hide form after creating new category * Hide new category form if ancestor has been collapsed * Add icon to categories * Add category image * Show image or icon on sharing preview * Adjust action icons sizes * Add side scrolling with sticky positioning * Add empty message, fix add category button sticky * Adjust icon and overflows * Add focus styles and aria attributes * Remove coment * Add translations * Fix translation, use defaults on metadata, always ask for confirmation before deleting * Accept empty slugs * Disable modal buttons when saving form * Remove comment * Add icon and image to creation form * Use icon before image * Dont accept empty slugs * Add tooltip when slug is invalid * Add translations for invalid slug tooltip * Make keywords a list of strings * Show keywords in link preview * Adjust draggingElement and draggingOverElement in some cases * Allow reordering keywords * Fix elm-book build * Fix elm.json * Show category icon if present * Move edit category action to menu * Renamed ClickedCategory -> ClickedEditCategory * Change root category dropzone and button, remove useless element * Change text colors and weights * Add page description * Dont show modal header and body text while loading file type * Focus icon input instead of name * Show menu on right click * Only send meta title and description if they've been altered * Change Slug -> Sharing URL * Adjust root button size * Only change bg when open on button * Add description on image input * Use different ellipsis icon, adjust icon sizes * Consider accentuated characters in slugs * Add elm-slug in elm-book * Update graphql types to include position * Order incoming categories by their position * Move children when clicking up and down * Adjust optimistic updates on click move up/down * Remove position related stuff * Send position = 0 * Remove menu y margin * Add more spacing on modal * Translate modal title * Only root categories are bold * Prevent context menu on mobile * Show context menu on different side depending on click position
- Loading branch information
1 parent
224eb57
commit 86521e4
Showing
45 changed files
with
3,843 additions
and
52 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
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
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.