Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: dynamic account colors Added options to add a priamary and secondary color when creating an account Also fixed typo comment A line in the css wasnt commented properly * chore: removed experimental code * refactor: edgecase handling and more - Handled edge case for fetching color setting when accoutn has no consultant - wrote test for color computation utils - type hints additons - ignored some docker volume folders * chore: clearing unwanted DB changes * refactor: code improvements - type hinting - segregattion of fucntionalities The color hex validation is now in a seperate fuciton in the coding_utils file * chore: removed Alembic comments * chore: linting code * fix: removed unwanted classes * fix: removed unwanted css clases * chore: initialize repo * chore: added '#' to default secondary color * feat: account logo This feature gives the option to add a logo url to an account * fix: revert utils.py accidentally replaced its content with that of another file * chore: remove unnecessary validation * chore: typo fix and migration file cleanup * feat: added extra validation to check logo url length * feat: logourl fallback this feature checks te consultant account if the main account desint have a logo set If both arent set it fallback to the flexmeasures account logo * fix: url regex validation error additional pattern was needed to compliment the existing pattern * refactor: regex patterns for path and port * refactor: regex patterns for query params * docs: updated change log with new features changes (white labeling - logo url) * docs: fixed typo with wrong url linking * feat: api to edit account details * refactor: fallback for empty account - handle edgecase for rendering brand logo incase user is not logged it * feat: edit accotun popup - also modified preremdered variables to also send over authtoken * chore: consolidating migration files pt1 * chore: consolidating migration files pt2 * feat: added logo_url field to edit account form * chore: track account editing action with auditlog * docs: updated changelogs on details on new edit account feature * Revert "chore: consolidating migration files pt2" This reverts commit 4bf3df3. * Revert "chore: consolidating migration files pt1" This reverts commit 4a345df. * chore: db migration consolidate * refactor: detailed event message * refactor: removed auth_token from server rendered variables * feat: added validation to edit account API * refactor: edit form - reordered form inputs - form data code linting(reduced to one line) * chore: added extra info to edit form inputs * refactor: switch to select-option for consultancy account input field * refactor: logic to display consultancy account name into select field default if it exist * refactor: edit account form logic - show proper bootstarp popup for API responses - show consuntant account input field for only admin * chore: removed print statements * chore: checking GH actions * fix: handle empty logo url for add accoutn command * refactor: moved shard utils to general utils location * feat: pagination UI integration * feat: accounts pagination API integration * feat: users pagination API integration * chore: seperating accoutns pagainaion integration * chore: clean up UI * refactor: integrated pagination logic to users sections in account detail page * chore: reduced users per page to improve UI * chore: imported annotiation to suppoer or datatypes declarations * refactori: updated users test with newchanges due to api changes * refactor: modificatins to tests due to API changes * refactor: modificatins to tests due to API changes pt2 * refactor: modified tests relating to users API * chore: clearing print statements * refactor: mofdified test due to user API changes Signed-off-by: joshuaunity <[email protected]> * refactor: post merge refactoring stabilizing user pagination feature after confflict resolution - integrated user pagination and direct API call in accounts detail page - updated some test and fix some typos Signed-off-by: joshuaunity <[email protected]> * chore: clear unused code Signed-off-by: joshuaunity <[email protected]> * perf: user pagination improvements Signed-off-by: joshuaunity <[email protected]> * refactor: addressing change requests - removed unused function and test - fixed unclickeable user row Signed-off-by: joshuaunity <[email protected]> * chore: removed unused validation Signed-off-by: joshuaunity <[email protected]> * refactor: users table - refactored users tables on both users and account detial page - integrate with dataTable package for pagaination styling and logic(navigation) Signed-off-by: joshuaunity <[email protected]> * chore: discard renderTable function Signed-off-by: joshuaunity <[email protected]> * refactor: code cleanup and simplification Signed-off-by: joshuaunity <[email protected]> * fix: roles not displaying Signed-off-by: joshuaunity <[email protected]> * refactor: raise FMvalidation error instead Signed-off-by: joshuaunity <[email protected]> * chore: table item vertical alignment Signed-off-by: joshuaunity <[email protected]> * refactor: page and per page validation refactoring Signed-off-by: joshuaunity <[email protected]> * refactor: tokenize the search terms for user API Signed-off-by: joshuaunity <[email protected]> --------- Signed-off-by: JDev <[email protected]> Signed-off-by: joshuaunity <[email protected]> Co-authored-by: Nicolas Höning <[email protected]>
- Loading branch information