mirror of
https://github.com/plankanban/planka.git
synced 2026-07-16 05:53:57 +03:00
[PR #717] [MERGED] feat:list sorting #1080
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/plankanban/planka/pull/717
Author: @JustSamuel
Created: 4/16/2024
Status: ✅ Merged
Merged: 4/22/2024
Merged by: @meltyshev
Base:
master← Head:feat/list-sorting📝 Commits (4)
1f62f20feat: client implementation of list sortinga974078feat: server implementation of list sorting7b3155echore: lint-fix6cec8fefix: Little improvements and refactoring📊 Changes
22 files changed (+419 additions, -18 deletions)
View changed files
📝
client/src/actions/lists.js(+34 -0)📝
client/src/api/lists.js(+24 -0)📝
client/src/components/List/ActionsStep.jsx(+40 -11)📝
client/src/components/List/List.jsx(+14 -1)➕
client/src/components/ListSortStep/ListSortStep.jsx(+61 -0)➕
client/src/components/ListSortStep/ListSortStep.module.scss(+11 -0)➕
client/src/components/ListSortStep/index.js(+3 -0)📝
client/src/constants/ActionTypes.js(+4 -0)📝
client/src/constants/EntryActionTypes.js(+2 -0)📝
client/src/constants/Enums.js(+7 -0)📝
client/src/containers/ListContainer.js(+1 -0)📝
client/src/entry-actions/lists.js(+20 -0)📝
client/src/locales/en/core.js(+5 -0)📝
client/src/models/Card.js(+8 -6)📝
client/src/models/List.js(+2 -0)📝
client/src/sagas/core/services/lists.js(+26 -0)📝
client/src/sagas/core/watchers/lists.js(+6 -0)📝
client/src/sagas/core/watchers/socket.js(+6 -0)➕
server/api/controllers/lists/sort.js(+65 -0)➕
server/api/helpers/lists/sort-one.js(+70 -0)...and 2 more files
📄 Description
Implements sorting of lists based on
name,createdAtanddueDate.fixes #390
notes:
The development setup wasn't very straightforward (client dockers' tries to include files outside of contex) and might also not be compatible with my dev setup (ubuntu). So I had to turn of ESLint and Prettier because of the broken rules and extends.
Furthermore, I still don't fully understand the
EntryActionvsActionflow, so I just monkey-see-monkey-do.Possible improvement is to not propagate each card update, but only the complete list when it is finished.
TODO:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.