Skip to content

feat: create beta release#350

Merged
mpfeil merged 186 commits intomainfrom
dev
Aug 7, 2024
Merged

feat: create beta release#350
mpfeil merged 186 commits intomainfrom
dev

Conversation

@mpfeil
Copy link
Copy Markdown
Contributor

@mpfeil mpfeil commented Aug 7, 2024

moving from dev branch to main branch

mpfeil and others added 30 commits February 16, 2023 12:21
* Add our basic colors and change css generation to postcss

* Run prettier on save in vscode

* Add custoom fonts and extend theme

* Add tailwind forms plugin for some defaults

* Update favicon

* Add vscode extensions recommendations
* add bottom bar

* add header component

---------

Co-authored-by: fbruc03 <65135023+fbruc03@users.noreply.github.com>
Co-authored-by: fab-scm <82449462+fab-scm@users.noreply.github.com>
* Init prisma models

* Add prisma generate on build

* Add connection between user and device

* Add new Map component based on react-map-gl

* Load devices as GeoJSON and display on map

* Add explore link to landing page

* Resolve typescript errors
* landing page - NOT RESPONSIVE

* add dark theme and adjust colors

---------

Co-authored-by: fbruc03 <65135023+fbruc03@users.noreply.github.com>
* Integrate directus CMS for landing page content

* Add directus client

* Add CMS endpoint
* Extend seed script to load actual data

* Fix cursorTo usage

* Fix hashing of password in seeds
* device and geo search (location)

* sidebar as route (#13)

* changes + heroincons to local use

* ESLint

* solve ESLint warnings and formatting

* make hotkeys work, switched to ctrl+k combination

* add keyboard navigation for search results

* keyboard handling information

---------

Co-authored-by: Matthias Pfeil <matthias.pfeil@wwu.de>
* shadcn installation with calender example

* component installation seamless (tsconfig change)

* change to `./app/components/ui`

* search style

* move code from app.css to tailwind.css
* Introduce i18n package and translate search component

* Detect and load content on landing page

* Remove values and add them to translation files
* add first solution without query strings

* use query string for selecting sensors

* use `Search Params` to control selected sensors

* ignore type error on LineGraph options

* limit selected sensors + add toast on limit

* fix ESLint

* move device fetch to model and adjust schema

* Extend prisma types

* Adjust tsconfig to include new types

* adjust types for Device and seletedSensors

* try to apply umuts style to values

* fix ESLint warning again

* fetch new sensor data on change

* fetch sensor data on parent loader

* comments and small style changes

---------

Co-authored-by: fbruc03 <65135023+fbruc03@users.noreply.github.com>
Co-authored-by: Matthias Pfeil <matthias.pfeil@wwu.de>
* Replace maplibregl with mapboxgl

* Use env token to display map
* Rename files and folders

* Try to fix lowercase file names

* Fix exports

* Rename components to lowercase+

* Fix imports

* All fixed now

* Last renames
* update `@prisma/client@latest`

* undo prisma version change

* add loading spinner

* bring back prisma to 4.9.0 (dev branch version)

* cleanup and fix TS error on chartjs options

* add lost laoding spinner after dev merge

* add osem logo as loading spinner

* resolve ESLint warning

---------

Co-authored-by: fbruc03 <65135023+fbruc03@users.noreply.github.com>
* Add shadow db

* Try re-running step because on 2 attempt error should disapear
* add popover component from shadcn

* introduce new shadcn components

* introduce time-filter component

* Feat/dropdown menu (#33)

* add shadcn components

* add shadcn components input and label

* rename getSession to getUserSession

* change centration from margin to justify

* small change to time-filter translation variable

* introduce login check and dropdown menu

* add login and register routes relative to /explore

* add translations for all components

* add better user feedback to log out action

* again user feedback change

* user feedback toast

* colors/toasts/login_label

* workaround for toasting and remove console.logs

* eslint fix

* solve toast problem (better workaround)

* retain searchParams on login/logout/search

* navigateTo and selected state

* ignore ts errors to wait for bugfix
* display badges on `/explore/profile/$userId`

* handle revoked badges

* add novu notifications
- update landing page with some animations by `framer-motion`
- add new route `/expore/public/me` to redirect logged in user to his own profile page
- add `username` on `/explore/register` as optional input -> when username was provided a profile will also be created and the `public` attribute is set to `true` by default
- added new `Switch` to the menu on the`/explore` routes to manage the visibility of the profile of the logged in user
* Add comments in header page

* add login button and user menu

* center login

* add login/logout impl.

* ignore .vscode

* adding font style

* add apperance-auto

* update account settings page

* adding change-password page

* some updates

* retreive email from session

* validate userName

* update user model and server

* adding sign up impl.

* update user join impl.

* use current locale in join

* adding delete user impl.

* show toast msg

* remove toast msg from join

* show toast msg after deleting user account

* update user password

* some updates

* update user locale

* initial dashboard page impl.

* show user name on user profile menu

* show list of senseboxes

* add user id when creating initial user

* update change password impl.

* show map on device click

* adding ui components

* renaming components

* code refactoring

* adding migration data

* code refactoring

* some upadates -> after resolving conflicts

* update register impl.

* fix typecheck errors

* Merge menu bar

* Merge profile stuff

---------

Co-authored-by: Matthias Pfeil <matthias.pfeil@wwu.de>
freds-dev and others added 28 commits April 12, 2024 08:13
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library) from 8.20.0 to 10.0.0.
- [Release notes](https://github.com/testing-library/dom-testing-library/releases)
- [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md)
- [Commits](testing-library/dom-testing-library@v8.20.0...v10.0.0)

---
updated-dependencies:
- dependency-name: "@testing-library/dom"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [zod-form-data](https://github.com/airjp73/remix-validated-form) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/airjp73/remix-validated-form/releases)
- [Commits](airjp73/rvf@zod-form-data-v2.0.1...zod-form-data-v2.0.2)

---
updated-dependencies:
- dependency-name: zod-form-data
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* add hash for position on map

* new filter input methods

* if toggle group logic
* implement checkboxes - not functional yet

* add option to select multiple phenomena

* keep search params on box-marker selection

* enhance ux
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Pfeil <matthias.pfeil@wwu.de>
Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.3.1 to 16.4.5.
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](motdotla/dotenv@v16.3.1...v16.4.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Pfeil <matthias.pfeil@wwu.de>
updated-dependencies:
- dependency-name: "@tanstack/react-table"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* rename columns

* adjust caggs

* adjust cagg policy

* rename more db columns

* updated refresh policies and rollup values
* `/profile` route dark theme

* update dark theme alerts

* (almost) finish profile page

* refactor settings page

* update `/settings` layout

* implement feedback from barto

* refactor badge handling on profile page

* fix empty backpack response

* finish password form

* final changes to `/settings`

* change description

* adjust `/new/device` to dark mode

* edit dataupload page styles

---------

Co-authored-by: Matthias Pfeil <matthias.pfeil@wwu.de>
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](docker/build-push-action@v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* update materialized views

* fix device query
* add function to query sensor with latest measurement

* add sensor card to display information

* add toggles to sensor cards for graph selection

---------

Co-authored-by: freds-dev <f_bruc03@uni-muenster.de>
Bumps node from 21-bullseye-slim to 22-bullseye-slim.

---
updated-dependencies:
- dependency-name: node
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Pfeil <matthias.pfeil@wwu.de>
* update datepicker

* add close button

* fix colors
* fix login/signup modals on `/explore` route for safari

* fix height of modal
* add missing link and image columns

* display external link and device image

* show device details and description

* add device description

* add placeholder image
* use drizzle and wrapper

* add new aggregation selection design

* fix disabled options in command

* add client only component by remix-utils

* remove old components

* new date range picker design
* new landing page structure

* update landing page add images
* fix login/signup modals on `/explore` route for safari

* fix height of modal

* add loading graph animation

* add device name to graph label if two different are selected

* display desscription accordion only if present

* remove phenomenon filter due to sensors.wiki API problems

* adjust colors when phenomenon is the same

* fix/disable ESLint errors

* resize graph panel

* modify theme selector
* remove lottie

* adjust menu
* add simple imprint

* add privacy page

* link ti imprint and privacy
* dont return `useAuth` and `public` properties

* remove toaster on `/explore` route

* change breakpoint for cards in device detail box

* dark mode adjustments

---------

Co-authored-by: Matthias Pfeil <matthias.pfeil@wwu.de>
@socket-security
Copy link
Copy Markdown

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@conform-to/react@0.9.1 None +1 145 kB edmundhung
npm/@conform-to/zod@0.9.0 None 0 40.3 kB edmundhung
npm/@directus/sdk@10.3.5 Transitive: environment, network +4 778 kB rijk
npm/@faker-js/faker@8.1.0 None 0 10.2 MB shinigami92
npm/@heroicons/react@2.0.18 None 0 2.43 MB malfaitrobin
npm/@hookform/resolvers@3.3.2 None 0 551 kB bluebill1049
npm/@isaacs/express-prometheus-middleware@1.2.1 None 0 20.4 kB isaacs
npm/@mantine/hooks@6.0.8 environment 0 559 kB rtivital
npm/@mapbox/mapbox-gl-geocoder@5.0.1 Transitive: filesystem +5 796 kB mapbox-npm-03
npm/@novu/notification-center@0.15.0 Transitive: environment, filesystem, network +68 29.5 MB scopsy
npm/@paralleldrive/cuid2@2.2.2 None +1 808 kB ericelliott
npm/@radix-ui/react-accordion@1.1.2 None +10 582 kB benoitgrelard
npm/@radix-ui/react-alert-dialog@1.0.5 None +2 400 kB benoitgrelard
npm/@radix-ui/react-aspect-ratio@1.0.3 None +2 301 kB benoitgrelard
npm/@radix-ui/react-avatar@1.0.2 None +6 378 kB benoitgrelard
npm/@radix-ui/react-checkbox@1.0.4 None +7 422 kB benoitgrelard
npm/@radix-ui/react-dialog@1.0.5 None +11 691 kB benoitgrelard
npm/@radix-ui/react-dropdown-menu@2.0.6 None +19 1.6 MB benoitgrelard
npm/@radix-ui/react-hover-card@1.0.7 None +16 1.15 MB benoitgrelard
npm/@radix-ui/react-label@2.0.2 None +2 299 kB benoitgrelard
npm/@radix-ui/react-navigation-menu@1.1.4 None +11 778 kB benoitgrelard
npm/@radix-ui/react-popover@1.1.1 None +26 1.11 MB vladmoroz
npm/@radix-ui/react-radio-group@1.1.3 None +9 546 kB benoitgrelard
npm/@radix-ui/react-scroll-area@1.0.5 None +4 558 kB benoitgrelard
npm/@radix-ui/react-select@2.0.0 None +20 1.49 MB benoitgrelard
npm/@radix-ui/react-separator@1.0.3 None +2 308 kB benoitgrelard
npm/@radix-ui/react-slot@1.0.2 None +1 287 kB benoitgrelard
npm/@radix-ui/react-switch@1.0.3 None +5 367 kB benoitgrelard
npm/@radix-ui/react-tabs@1.0.4 None +7 499 kB benoitgrelard
npm/@radix-ui/react-toast@1.1.5 None +9 708 kB benoitgrelard
npm/@radix-ui/react-toggle-group@1.0.4 None +7 503 kB benoitgrelard
npm/@radix-ui/react-toggle@1.0.3 None +3 317 kB benoitgrelard
npm/@radix-ui/react-tooltip@1.1.2 None +13 802 kB vladmoroz
npm/@remix-run/dev@2.0.1 environment, filesystem Transitive: network, shell, unsafe +120 234 MB mjackson
npm/@remix-run/eslint-config@2.8.1 Transitive: environment, filesystem, unsafe +71 19.6 MB mjackson
npm/@remix-run/express@2.0.1 environment 0 95.6 kB mjackson
npm/@remix-run/node@2.0.1 Transitive: filesystem, network +9 648 kB mjackson
npm/@remix-run/react@2.0.1 environment, network +1 2.5 MB mjackson
npm/@remix-run/server-runtime@2.0.1 network Transitive: filesystem +6 3.13 MB mjackson
npm/@remix-validated-form/with-zod@2.0.6 eval 0 279 kB airjp73
npm/@tailwindcss/forms@0.5.3 None 0 49.3 kB bradlc
npm/@tailwindcss/typography@0.5.13 None +2 311 kB adamwathan
npm/@tanstack/react-table@8.17.3 Transitive: environment +1 4.04 MB tannerlinsley
npm/@testing-library/cypress@10.0.1 Transitive: environment, eval +31 4.33 MB testing-library-bot
npm/@testing-library/dom@10.0.0 environment +18 3.4 MB testing-library-bot
npm/@testing-library/jest-dom@5.17.0 Transitive: environment +17 1.78 MB testing-library-bot
npm/@turf/bbox@6.5.0 None +1 141 kB rowanwins
npm/@turf/helpers@6.5.0 None 0 93.6 kB rowanwins
npm/@types/chroma-js@2.4.1 None 0 22.4 kB types
npm/@types/compression@1.7.3 None 0 11.4 kB types
npm/@types/eslint@8.44.3 None +2 237 kB types
npm/@types/express@4.17.18 None +9 108 kB types
npm/@types/file-saver@2.0.5 None 0 7.3 kB types
npm/@types/geojson@7946.0.12 None 0 8.13 kB types
npm/@types/lodash.debounce@4.0.7 None +1 867 kB types
npm/@types/mapbox__mapbox-gl-geocoder@4.7.4 None 0 17.9 kB types
npm/@types/mapbox-gl@2.7.11 None 0 98.3 kB types
npm/@types/morgan@1.9.9 None 0 13.9 kB types
npm/@types/node-fetch@2.6.4 None 0 12.2 kB types
npm/@types/node@18.18.1 None 0 3.8 MB types
npm/@types/react-dom@18.2.8 None 0 30.4 kB types
npm/@types/react-tagsinput@3.20.0 None 0 5.96 kB types
npm/@types/react@18.2.24 None +3 1.56 MB types
npm/@types/source-map-support@0.5.8 None +1 815 kB types
npm/@types/supercluster@7.1.3 None 0 8.4 kB types
npm/@vitejs/plugin-react@4.1.0 Transitive: environment, filesystem, unsafe +53 13.9 MB vitebot
npm/@vitest/coverage-v8@0.34.6 None +7 732 kB oreanno
npm/autoprefixer@10.4.16 environment Transitive: filesystem +3 2.59 MB ai
npm/chart.js@4.3.0 None +1 4.99 MB chartjs-ci
npm/chartjs-adapter-date-fns@3.0.0 None 0 288 kB chartjs-ci
npm/chroma-js@2.4.2 None 0 309 kB gka
npm/class-variance-authority@0.7.0 None 0 8.93 kB joebell93
npm/clsx@2.0.0 None 0 6.79 kB lukeed
npm/cmdk@1.0.0 None +2 381 kB paco
npm/cookie@0.6.0 None 0 23.7 kB dougwilson
npm/cssnano@5.1.15 Transitive: filesystem +4 203 kB ludovicofischer
npm/csvtojson@2.0.10 filesystem, shell Transitive: environment, eval, unsafe +2 9.32 MB keyang
npm/cypress@13.6.1 environment, filesystem, shell, unsafe Transitive: eval, network +44 10.5 MB chrisbreiding
npm/date-fns@2.30.0 None +1 6.94 MB kossnocorp
npm/dotenv@16.4.5 environment, filesystem 0 79.1 kB motdotla
npm/drizzle-kit@0.23.0 Transitive: environment, eval, filesystem, network, shell, unsafe +27 216 MB dankochetov
npm/drizzle-orm@0.32.1 None 0 5.93 MB dankochetov
npm/esbuild@0.19.12 environment, filesystem, network, shell +23 220 MB evanw

🚮 Removed packages: npm/@faker-js/faker@7.6.0, npm/@prisma/client@4.9.0, npm/@remix-run/dev@1.12.0, npm/@remix-run/eslint-config@1.12.0, npm/@remix-run/express@1.12.0, npm/@remix-run/node@1.12.0, npm/@remix-run/react@1.12.0, npm/@remix-run/server-runtime@1.12.0, npm/@testing-library/cypress@8.0.7, npm/@testing-library/dom@8.20.0, npm/@testing-library/jest-dom@5.16.5, npm/@types/compression@1.7.2, npm/@types/eslint@8.21.0, npm/@types/express@4.17.17, npm/@types/morgan@1.9.4, npm/@types/node@18.11.19, npm/@types/react-dom@18.0.10, npm/@types/react@18.0.27, npm/@vitejs/plugin-react@3.1.0, npm/@vitest/coverage-c8@0.27.3, npm/autoprefixer@10.4.13, npm/c8@7.12.0, npm/cookie@0.5.0, npm/cypress@10.11.0, npm/dotenv@16.0.3, npm/esbuild@0.17.5, npm/eslint-config-prettier@8.6.0, npm/eslint-plugin-cypress@2.12.1, npm/eslint@8.33.0, npm/express-prometheus-middleware@1.2.0, npm/express@4.18.2, npm/happy-dom@8.2.6, npm/isbot@3.6.5

View full report↗︎

@mpfeil mpfeil merged commit 78a95bb into main Aug 7, 2024
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.

6 participants