Closed domwakeling closed 5 years ago
Ability to archive leagues (since they can't be deleted), adding a new expandable 'Archive' entry in the Menu (material-ui Drawer element).
Menu
In client/src/actions/league.js
client/src/actions/league.js
switchArchiveLeague
editLeague
In client/src/components/dashboard/leagueTabs/leagueTabData.js
client/src/components/dashboard/leagueTabs/leagueTabData.js
Write new file client/src/components/dashboard/settings/forms/LeagueArchiveForm.jsx to provide UI in new 'sub-tab
client/src/components/dashboard/settings/forms/LeagueArchiveForm.jsx
In client/src/components/dashboard/settings/forms/editLeageNameForm.jsx
client/src/components/dashboard/settings/forms/editLeageNameForm.jsx
In client/src/components/dashboard/settings/routes.jsxand client/src/components/routes.js
client/src/components/dashboard/settings/routes.jsx
client/src/components/routes.js
In client/src/components/nav/Menu.jsx and client/src/components/nav/MenuLeagueItem.jsx
client/src/components/nav/Menu.jsx
client/src/components/nav/MenuLeagueItem.jsx
additional code to style icons
In client/src/components/styles/cssDashboard.js and client/src/components/styles/cssMenu.js
client/src/components/styles/cssDashboard.js
client/src/components/styles/cssMenu.js
In server/models/league.js
server/models/league.js
In server/api/auth.js
server/api/auth.js
In server/api/league.js
server/api/league.js
Change made; looks as though I had also made two further minor tweaks (which have likely been superseded in the last year!) which had not been committed/pushed.
@domwakeling
Ability to archive leagues (since they can't be deleted), adding a new expandable 'Archive' entry in the
Menu
(material-ui Drawer element).In
client/src/actions/league.js
switchArchiveLeague
editLeague
to ensure redux store stays in sync with MongooseIn
client/src/components/dashboard/leagueTabs/leagueTabData.js
Write new file
client/src/components/dashboard/settings/forms/LeagueArchiveForm.jsx
to provide UI in new 'sub-tabIn
client/src/components/dashboard/settings/forms/editLeageNameForm.jsx
In
client/src/components/dashboard/settings/routes.jsx
andclient/src/components/routes.js
In
client/src/components/nav/Menu.jsx
andclient/src/components/nav/MenuLeagueItem.jsx
additional code to style icons
In
client/src/components/styles/cssDashboard.js
andclient/src/components/styles/cssMenu.js
In
server/models/league.js
In
server/api/auth.js
In
server/api/league.js