Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy changes from develop to main #173

Merged
merged 164 commits into from
Mar 25, 2024
Merged

Deploy changes from develop to main #173

merged 164 commits into from
Mar 25, 2024

Conversation

ssb-jnk
Copy link
Contributor

@ssb-jnk ssb-jnk commented Mar 25, 2024

No description provided.

johnnadeluy and others added 30 commits January 16, 2024 13:09
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.0.11 to 5.0.12.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.0.12/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.0.12/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
* Store JWT in cookies instead of localStorage; use js-cookie lib

DPSTAT-817

* Use expired and same site properties for token storing

DPSTAT-817

* Add auth file for js-cookie function imports (WIP)

DPSTAT-817

* Import js-cookie into team api file directly

DPSTAT-817

* Minor refactor in ProtectRoute and VerifyKeycloakToken

DPSTAT-817

* Minor code refactoring; token -> access_token

DPSTAT-817

* Pass the same attributes to the deletion of Cookies; secure and sameSite

DPSTAT-817

* Use react-secure-storage to store tokens instead of cookies

DPSTAT-817

* Include node in eslint config to remove process is not defined linting error

* Revert vite config changes; readd comma

* Use prop type password for token input

DPSTAT-817

* Revert react-secure-storage changes; keep storing tokens in local storage temporarily
* Add header component
* Add UserProfile endpoint
Rename teamApi.ts to TeamApi.ts, Linux has a case-sensitive filesystem
* teamoverview

* fix async error

* handle fetchAPIData error

* add error handling that respects external apis errorcode and message

* add error middleware

* .

* fix fallback error message

* added teamoverview data endpoints and fetched data on frontend

* fetched teams in TeamOverView

* cleaned up stuff and added title

* title and interface for pages

* added loading, section name

* cleaned up and moved reusable interfaces to @types

* updated protectedroute and validateToken

* .

* .

* Minor code refactoring

* Fix mobile styling for tables

---------

Co-authored-by: johnnadeluy <[email protected]>
* Setup prettier for formatting; add scripts command for linting and formatting

* Apply prettier formatting on all files by running lint:format script
changed provider and breadcrumb variables, and also made reuseable functions in server.js
* Basic 404 page

* Move Header and Breadcrumb to PageLayout for pages like Login and NotFound etc

* Add styling to NotFound

* Center everything

* Run lint:format

* Make class names camelCase

---------

Co-authored-by: johnnadeluy <[email protected]>
* Fix eslint missing dependency array in useEffect warnings

* Fix ts errors; breadcrumbs user profile display name and ignore line in server.js

* Minor code refactoring
* added preperations for teamDetail endpoint
* Adds a workflow that builds and lints on open pull-requests to develop

* Include auto fix for linting in workflow

* Minor code refactoring and adjust Prettier warnings to error

* Fix type error for breadcrumbsUserProfileDisplayName

* Temporary hide unused const in TeamDetail to prevent build fail

* Adjustments to not include autofix ESLint and Prettier in workflow

* Update README.md with ESLint and Prettier documentation with ChatGPT assistance

* Autofix prettier format errors

* Bump actions/checkout@v3 to actions/checkout@v4

* Minor code refactoring; rewording
…dates (#24)

* Create dependabot.yml

* Add auto-merge for dependabot PRs that are only semver-patch updates
Bumps [@statisticsnorway/ssb-component-library](https://github.com/statisticsnorway/ssb-component-library) from 2.0.96 to 2.0.97.
- [Release notes](https://github.com/statisticsnorway/ssb-component-library/releases)
- [Commits](statisticsnorway/ssb-component-library@2.0.96...2.0.97)

---
updated-dependencies:
- dependency-name: "@statisticsnorway/ssb-component-library"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.3.1 to 16.4.1.
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](motdotla/dotenv@v16.3.1...v16.4.1)

---
updated-dependencies:
- dependency-name: dotenv
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
dependabot bot and others added 28 commits March 15, 2024 08:31
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.65 to 18.2.66.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Hide delte data column and remove question mark for Epost th in team detail
#144)

* fix issue where only one manager was shown per team, and also fixed issue where manager was displayed in team info instead of the teams own manager
Bumps [@mui/material](https://github.com/mui/material-ui/tree/HEAD/packages/mui-material) from 5.15.13 to 5.15.14.
- [Release notes](https://github.com/mui/material-ui/releases)
- [Changelog](https://github.com/mui/material-ui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mui/material-ui/commits/v5.15.14/packages/mui-material)

---
updated-dependencies:
- dependency-name: "@mui/material"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.66 to 18.2.67.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fixed bug where team in shared bucket wasnt filterable.
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.4.2 to 5.4.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](microsoft/TypeScript@v5.4.2...v5.4.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add base skeleton for edit user in team sidebar modal

DPSTAT-894

* added removeUserfromGroups function

* Update view for in edit user in team Sidebar Modal with correct data

* Added functionality to edit user group in team dropdown

* .

* Refactors SidebarModal duplicated code for add/edit user in team

* temporary fix for removing user from a group

* .

* Reset select group dropdown for edit user

* Update edit user requests; include form resets, spinnger and error messages

* Fix double spinner and refactor modal code

* Add alignment options for Table and center edit user column data

* .

* Add delete user feature for edit user in team

* Add conditional rendering for user editing in teams

* Use useCallback for team manager view conditional

* Create DeleteLink component for editing

* Fix view for dropdown on onSelect when editing users

---------

Co-authored-by: ssb-jnk <[email protected]>
* Unique edit user in team loading states for each user

DPSTAT-894

* Unique errors for users in edit user in team

* Clear edit user group dropdown on Endre onClick
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.2.2 to 5.2.6.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.2.6/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.2.67 to 18.2.69.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

---
updated-dependencies:
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Header:

Icon is shown by 40x40px
Total height of header is 80px
Table:

Columns has a fixed width (when you hover you will no longer see a 'jitter' by displaying the svg)
In mobile view there is less space between columns
Use span instead of Text in FormattedTableColumn
There is a larger gap between Link and Span in FormattedTableColumn
Rename "Epost" to "E-post" in column name
Rename "Ansvarlig" to "Managers" in column name
Rename "Data-admins" to "Som data-admin" in column name
Default alphabetical sorting on first column
Smaller distance for ingress
All groups are shown in lowercase, (Data-admins => data-admins)
@ssb-jnk ssb-jnk requested a review from a team as a code owner March 25, 2024 14:14
@ssb-jnk ssb-jnk merged commit 12ca159 into main Mar 25, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants