* fix: remove status bar from users tab clean up code accordingly
* fix: replace logged users with total number of users
Co-authored-by: Sylvain Morisse <sylvain@watcha.fr>
* feat: deletion of direct room information in RoomDashBoardPanel
* feat: deletion of directRoom information on RoomDashboardPanel
* feat: modification of wording for 'room' object
* i18n: better wording for connected users
* feat: better wording for 'Email' in UserRightPanel
* fix: tooltip message on button hover
* prettier: format
* feat: inversion of column order for UserDashboardPanel
* i18n: spelling correction
* i18n: better wording after review
* feat: better wording for 'rooms'
* feat: standardization of 'room' terms
* all changes squashed in one from branch watcha-OP394-improvement-of-dashbordTab
* style: change name of roomsPanel.
* fix: typo
* fix: remove duplicate css class
* fix: remove erroneous property
* style: format
* fix: deletion of useless dot in tooltip message
* style: modification of inappropriate 'unset' css attribut
* refactor: include AdministrateButton in children component.
* style: changing wording
* all changes after first review on PR#39
* feat: deletion of useless import
* feat: change ExpandButton by Accordion
* all changes after second review on PR#39
* feat: change value of admin name on AdministratorsList
* fix: deletion of useless interpolation
* fix: deletion of useless code
* fix: deletion of useless console.log
* style: changing the wording of tooltip messages
* feat: handle display and wording of noRoomMessage
* style: changing the wording of RoomPanelDashboard labels
* refactor: UserAccountStatusHeader into HeaderTooltip
* style: better wording for room status
* feat: addition of HeaderTooltip on room 'Status' header
* format: prettier in HeaderTooltip
* feat: addition of HeaderTooltip on user 'Role' header
* fix: lower case on i18n spacename
* i18n: better wording for 'pendingInvitation'
* refactor: Tooltip into LabelTooltip
* i18n: change wording for pendingInvitation
* i18n: addition of 'typeHeaderTooltip' namespace from OP390
* feat: addition of LabelTooltip
* i18n: wording standardization for 'Room'
* i18n: spelling correction
* i18n: deletion of spaces before ':'
* i18n: spelling correction
* feat: change name of tooltip logo
* feat: better code syntax
* i18n: same traduction on english and french for 'noRoomMessage'
* Watcha op390 re add type column (#43)
* feat: re-addition of 'Type' column
* feat: addition of HeaderTooltip on 'Type' column
* i18n: spelling correction
* i18n: better wording
* i18n: deletion of final dots
* i18n: better wording
* Watcha OP415 addition of new icon (#44)
* feat: addition of new icon
* feat: modification of icon for new room
* feat: re-addition of new room and new user icon
* feat: addition of a tooltip on NewItemButton
* i18n: better wording
* i18n: better wording
* i18n: better translation
* i18n: better translation
Co-authored-by: c-cal <github-2c7c@zebrina.fr>
Co-authored-by: c-cal <57274151+c-cal@users.noreply.github.com>
* all changes squashed in one from branch watcha-OP394-improvement-of-dashbordTab
* style: change name of roomsPanel.
* fix: typo
* fix: remove duplicate css class
* fix: remove erroneous property
* style: format
* fix: deletion of useless dot in tooltip message
* style: modification of inappropriate 'unset' css attribut
* refactor: include AdministrateButton in children component.
* style: changing wording
* all changes after first review on PR#39
* feat: deletion of useless import
* feat: change ExpandButton by Accordion
* all changes after second review on PR#39
* feat: change value of admin name on AdministratorsList
* fix: deletion of useless interpolation
* fix: deletion of useless code
* fix: deletion of useless console.log
Co-authored-by: c-cal <github-2c7c@zebrina.fr>
Co-authored-by: c-cal <57274151+c-cal@users.noreply.github.com>
* feat: add permalink for rooms
* feat: add a navigation context to avoid multiple tabs
* fix: use a ref for refetch as it should not induce rendering when it changes
* feat: change status affectation in resolve function.
* style: addition of 'new' traduction in roomsTab namespace
* style: css font color for 'new' status
* style: i18next modification.
* style: format code
Co-authored-by: c-cal <57274151+c-cal@users.noreply.github.com>
* feat: extract Login from App component
* refactor: remove obsolete package-lock.json since using yarn
* feat: use matrix-js-sdk for login
* feat: use URL() rather than string concatenation
* fix: remove useless t()
* feat: upgrade i18n engine
* feat: add an error boundary
* refactor: extensive but very safe cleaning of the code base
No purpose changes :
- format with Prettier
- convert arrow methods with only an instruction into oneline
- convert the setStates having only one argument into oneline
- merge consecutive setStates
- reorganize imports
- improve react-bootstrap imports
- convert small components into stateless functional components
- isEmail() now returns only a boolean
- convert React life cycles (componentDidMount...) to standard methods, not to class properties
- remove useless constructors
- cleaning of line breaks...
* fix: replace obsolete prop for Alert components
* feat: use classnames() to improve BooleanRow component
* fix: upgrade dependencies
* fix: restore homepage in package.json and update i18n config
* feat: add context for matrix client
* feat: replace deactivateAccount() with client.deactivateSynapseUser()
* fix: add namespace array in i18n config
* fix: turn off debug for i18n
* fix: refresh the user table by validating user creation alert
* feat: use context wherever token and baseUrl are needed
* feat: add SuspenseFallback component
* feat: delay fallback suspense display
* cmd: yarn add react-table
* refactor: replace object[xxx] with object.xxx
* refactor: replace legacy functional components with arrow functions
* cmd: yarn add restful-react
* refactor: convert StatsTab into functional component
* refactor: convert CardStats into functional component
* feat: use restful-react for StatsTab component
* feat: replace custom loading animation with a spinner
* feat: replace App.css content with user.css one and improve centered layout
* refactor: convert App into functional component
* feat: add DelayedSpinner component
* refactor: convert AdminHome into functional component
* feat: improve variable names involved in changing tabs
* fix: typo
* feat: update i18n for tab titles
* feat: update i18n for Login component
* feat: improve pattern to avoid double submission
* fix: pass the right prop to CardStat component for tab change
* refactor: rename StatsTab component
* refactor: convert Login into functional component
* feat: add useMatrixClientContext()
* feat: add TabReducerContext
* feat: hide user list for empty rooms
* fix: replace setState callback() with callback for deactivateSynapseUser()
* feat: add ChangeTabContext
* feat: add UsersTab & RoomsTab components
* feat: add DispatchContext, UserIdContext and RoomIdContext
* feat: use react-table for users tab
* fix: improve layout
* feat: add new user button
* refactor: improve i18n hierarchy
* feat: add the old CreateUserRightPanel to the new UsersTab
* feat: add the old UserRightPanel to the new UsersTab
* fix: limit the scope of css classes for user account status
* fix: improve spinner layout
* fix: restore missing i18n
* fix: remove table outline
* Watcha op313 modify user page on admin dashboard (#11)
* feat: add email next to displayname on for each admin line.
* style: deletion of underline on each admin line.
* feat: deletion of useless console.log()
* style: add new line at the end of AdminCardStats.js file.
* style: format new code with prettier.
* style: formatting with prettier (tabsize = 4).
* feat: simplification of syntax code.
* feat: calculate displayname before passing props.
* Style: reorder props
Co-authored-by: c-cal <57274151+c-cal@users.noreply.github.com>
* Watcha op305 inconsistent values on admin stats (#10)
* feat: assignement of rooms statistic values returned by synapse on dashboard.
* style: translate new terms on room page on dashboard.
* style: regroup oldstyle i18n
* feat: fix of Warning: Encountered two children with the same key.
Co-authored-by: c-cal <github-2c7c@zebrina.fr>
* feat: add logged users informations on dashboard.
* feat: add number of users with pending invitation on dashboard.
* style: change 'member' terms by 'collaborator'.
* feat: modification of item parameter in resolve function (with synapse modification of OP350).
* feat: change watcha_room_list endpoint name (with synapse modification from OP320).
* feat: add pendingInvitationUsers translation on dashboardTab.json.
* feat: add admin translation on dashboardTab.json.
* style: add usersPannel spacename.
* style: add roomsPannel spacename.
* Watcha admin release sprint 22 (#24)
* feat: deletion of CardStats component.
* feat: add some userPannel translation.
* style: css for UserDashboardPanel component.
* feat: creation of UsersDashboardPanel component.
* feat: add UsersDashboardPanel on DashboardTab component.
* feat: add some translation for roomsPannel.
* feat: creation of RoomsDashboardPanel component.
* feat: addition of RoomsDashboardPanel on dashboardTab.
* feat: deletion of CardStats.js
* feat: deletion of AdminCardStats.js.
* feat: add noRoomsMessage on RoomsDashboardPanel.
* fix: fix label value of pendingInvitationUsers.
* style: add css for noRoomsMessage.
* feat: modification of some translation on dashboardTab.
* feat: addition of translation for serverStatePannel.
* feat: creation of ServerStateDashboardPanel component.
* feat: addition of serverStateDashboardPanel component on dashboardTab.
* style: change syntax code.
* feat: display empty string if no admin email value.
* feat: addition of translation for tooltip messages.
* feat: deletion of useless i18next on dashboardPanel component.
* feat: addition of tooltip on usersPanelDasboard component.
* style: modification of transaltion on dahsboardTab.
* feat: deletion of useless react-18next import.
* feat: deletion of useless Card component.
* feat: replacement of card by fieldset and include list of admin in fieldset.
* style: add some css modification.
* style: spelling correction.
* feat: addition of a key for Accordion component.
* feat: addition of resfreshButton on dashboardTab (OP358).
* feat: deletion of string formatting for date in serverPanel.
* fix : change API endpoint name and add JSON content
* fix: add RefreshButton component
* fix: change API endpoint name for rooms list
* fix: add ItemId parameter to resolve function.
* fix: change 'member' role to 'collaborator'
Co-authored-by: c-cal <github-2c7c@zebrina.fr>
Co-authored-by: c-cal <57274151+c-cal@users.noreply.github.com>
* feat: add the NewRoomButton component
* fix: typo
* feat: wrap riot room creation modal in an iframe
* refactor: remove useless i18n
* fix: change riot subdir to /app
* fix: retore type header i18n
* fix: rollback to legacy css
* fix: rollback useless i18n modification order
* fix: resize the modal to the dimensions of the riot one
* fix: add a title for iframe to resolve linter warning
* feat: extract Login from App component
* refactor: remove obsolete package-lock.json since using yarn
* feat: use matrix-js-sdk for login
* feat: use URL() rather than string concatenation
* fix: remove useless t()
* feat: upgrade i18n engine
* feat: add an error boundary
* refactor: extensive but very safe cleaning of the code base
No purpose changes :
- format with Prettier
- convert arrow methods with only an instruction into oneline
- convert the setStates having only one argument into oneline
- merge consecutive setStates
- reorganize imports
- improve react-bootstrap imports
- convert small components into stateless functional components
- isEmail() now returns only a boolean
- convert React life cycles (componentDidMount...) to standard methods, not to class properties
- remove useless constructors
- cleaning of line breaks...
* fix: replace obsolete prop for Alert components
* feat: use classnames() to improve BooleanRow component
* fix: upgrade dependencies
* fix: restore homepage in package.json and update i18n config
* feat: add context for matrix client
* feat: replace deactivateAccount() with client.deactivateSynapseUser()
* fix: add namespace array in i18n config
* fix: turn off debug for i18n
* fix: refresh the user table by validating user creation alert
* feat: use context wherever token and baseUrl are needed
* feat: add SuspenseFallback component
* feat: delay fallback suspense display
* cmd: yarn add react-table
* refactor: replace object[xxx] with object.xxx
* refactor: replace legacy functional components with arrow functions
* cmd: yarn add restful-react
* refactor: convert StatsTab into functional component
* refactor: convert CardStats into functional component
* feat: use restful-react for StatsTab component
* feat: replace custom loading animation with a spinner
* feat: replace App.css content with user.css one and improve centered layout
* refactor: convert App into functional component
* feat: add DelayedSpinner component
* refactor: convert AdminHome into functional component
* feat: improve variable names involved in changing tabs
* fix: typo
* feat: update i18n for tab titles
* feat: update i18n for Login component
* feat: improve pattern to avoid double submission
* fix: pass the right prop to CardStat component for tab change
* refactor: rename StatsTab component
* refactor: convert Login into functional component
* feat: add useMatrixClientContext()
* feat: add TabReducerContext
* feat: hide user list for empty rooms
* fix: replace setState callback() with callback for deactivateSynapseUser()
* feat: add ChangeTabContext
* feat: add UsersTab & RoomsTab components
* feat: add DispatchContext, UserIdContext and RoomIdContext
* feat: use react-table for users tab
* fix: improve layout
* feat: add new user button
* refactor: improve i18n hierarchy
* feat: add the old CreateUserRightPanel to the new UsersTab
* feat: add the old UserRightPanel to the new UsersTab
* fix: limit the scope of css classes for user account status
* fix: improve spinner layout
* fix: restore missing i18n
* fix: remove table outline
* Watcha op313 modify user page on admin dashboard (#11)
* feat: add email next to displayname on for each admin line.
* style: deletion of underline on each admin line.
* feat: deletion of useless console.log()
* style: add new line at the end of AdminCardStats.js file.
* style: format new code with prettier.
* style: formatting with prettier (tabsize = 4).
* feat: simplification of syntax code.
* feat: calculate displayname before passing props.
* Style: reorder props
Co-authored-by: c-cal <57274151+c-cal@users.noreply.github.com>
* Watcha op305 inconsistent values on admin stats (#10)
* feat: assignement of rooms statistic values returned by synapse on dashboard.
* style: translate new terms on room page on dashboard.
* style: regroup oldstyle i18n
* feat: fix of Warning: Encountered two children with the same key.
Co-authored-by: c-cal <github-2c7c@zebrina.fr>
* feat: add logged users informations on dashboard.
* feat: add number of users with pending invitation on dashboard.
* style: change 'member' terms by 'collaborator'.
* feat: modification of item parameter in resolve function (with synapse modification of OP350).
* feat: change watcha_room_list endpoint name (with synapse modification from OP320).
* feat: add pendingInvitationUsers translation on dashboardTab.json.
* feat: add admin translation on dashboardTab.json.
* style: add usersPannel spacename.
* style: add roomsPannel spacename.
* Watcha admin release sprint 22 (#24)
* feat: deletion of CardStats component.
* feat: add some userPannel translation.
* style: css for UserDashboardPanel component.
* feat: creation of UsersDashboardPanel component.
* feat: add UsersDashboardPanel on DashboardTab component.
* feat: add some translation for roomsPannel.
* feat: creation of RoomsDashboardPanel component.
* feat: addition of RoomsDashboardPanel on dashboardTab.
* feat: deletion of CardStats.js
* feat: deletion of AdminCardStats.js.
* feat: add noRoomsMessage on RoomsDashboardPanel.
* fix: fix label value of pendingInvitationUsers.
* style: add css for noRoomsMessage.
* feat: modification of some translation on dashboardTab.
* feat: addition of translation for serverStatePannel.
* feat: creation of ServerStateDashboardPanel component.
* feat: addition of serverStateDashboardPanel component on dashboardTab.
* style: change syntax code.
* feat: display empty string if no admin email value.
* feat: addition of translation for tooltip messages.
* feat: deletion of useless i18next on dashboardPanel component.
* feat: addition of tooltip on usersPanelDasboard component.
* style: modification of transaltion on dahsboardTab.
* feat: deletion of useless react-18next import.
* feat: deletion of useless Card component.
* feat: replacement of card by fieldset and include list of admin in fieldset.
* style: add some css modification.
* style: spelling correction.
* feat: addition of a key for Accordion component.
* feat: addition of resfreshButton on dashboardTab (OP358).
* feat: deletion of string formatting for date in serverPanel.
* fix : change API endpoint name and add JSON content
Co-authored-by: c-cal <github-2c7c@zebrina.fr>
Co-authored-by: c-cal <57274151+c-cal@users.noreply.github.com>
* feat: add noRoomsMessage on dashboard spacename.
* feat: add noRoomsMessage on dashboard.
* style: deletion of useless break line on dashboard space name.
* feat: deletion of useless class attribute.
* Format: format code with prettier.
* style: add noRoomsMessage translation to roomsPannel namespace.
* style: add noRoomsMessage translation to roomsPannel namespace.
* feat: extract Login from App component
* refactor: remove obsolete package-lock.json since using yarn
* feat: use matrix-js-sdk for login
* feat: use URL() rather than string concatenation
* fix: remove useless t()
* feat: upgrade i18n engine
* feat: add an error boundary
* refactor: extensive but very safe cleaning of the code base
No purpose changes :
- format with Prettier
- convert arrow methods with only an instruction into oneline
- convert the setStates having only one argument into oneline
- merge consecutive setStates
- reorganize imports
- improve react-bootstrap imports
- convert small components into stateless functional components
- isEmail() now returns only a boolean
- convert React life cycles (componentDidMount...) to standard methods, not to class properties
- remove useless constructors
- cleaning of line breaks...
* fix: replace obsolete prop for Alert components
* feat: use classnames() to improve BooleanRow component
* fix: upgrade dependencies
* fix: restore homepage in package.json and update i18n config
* feat: add context for matrix client
* feat: replace deactivateAccount() with client.deactivateSynapseUser()
* fix: add namespace array in i18n config
* fix: turn off debug for i18n
* fix: refresh the user table by validating user creation alert
* feat: use context wherever token and baseUrl are needed
* feat: add SuspenseFallback component
* feat: delay fallback suspense display
* refactor: format code with Prettier
* refactor: use react-codemod sort-comp
* refactor: use js-codemod object-shorthand
* refactor: use js-codemod rm-object-assign
* refactor: use js-codemod trailing-commas