Commit graph

30 commits

Author SHA1 Message Date
André Jaenisch
76eb6672b0
chore: update dependencies
We have some major version updates in our dependencies that should be
treated separately. This update also contains an audit fix to close
vulnerabilities.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-09-30 19:05:56 +02:00
André Jaenisch
4984938f40
chore: update all dependencies
I spotted an experimental vitest addon and configured most parts of it.
However due to given peer dependency in that addon I cannot install it.
Therefore everything was commented for now.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-08-21 08:30:49 +02:00
André Jaenisch
e95bb2e117
feat: add notifications to settings
This is currently a mock as we have no notification mechanism in place.
Also, I need to figure out how to talk to Vervis' API first.

That being said, this step allows for translations at least.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-08-15 17:51:09 +02:00
André Jaenisch
5af877bcaa
feat: add Appearance panel to Settings modal
This features two knobs: theming and indent.
I was curious whether I could actually hand the theme switching to the
parent, so I created an event dispatcher for it.

It works! But I had to hack the Svelte component a little.
I also need to sync it two the theme switcher in the popup and go over
every component that is focused on light mode only at the moment. To
limit the work I will constraint myself to the Profile page here. If the
theme is meant to apply to other pages as well, we will need to persist
the setting. That means a database in Anvil, I guess. I'm not willing to
take that step right now. It must come at some point (e.g. when talking
to Vervis to actually inform about changes made in Anvil).

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-08-09 08:32:15 +02:00
André Jaenisch
55602e359a
feat: add new settings view for Keys
Currently the SSH and GPG keys are hardcoded. In a refactoring those
will be passed down as prop to the component. But I would need to query
Vervis to receive the real keys. Likewise I am not talking to Vervis
when updating (remove, add) a key.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-08-06 09:36:27 +02:00
André Jaenisch
03c8334338
feat: add Account Settings view
This is not interacting with Vervis at this point in time.
I clarified that changes should be persisted on moving away from a view.
I'm going to implement that once I have all views in place.

On top of that, persisting changes to Vervis requires me to study the
now documented Vervis API in more detail. I'm going to postpone this for
now but will revisit it in a few weeks.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-07-31 10:58:36 +02:00
André Jaenisch
be727a6d9c
chore: update dependencies
Turns out most Storybook Addons expect React and won't be installable in
a Svelte(Kit) project. But I could figure out how to use the play
functions. So I have an example for it.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-07-30 12:55:35 +02:00
André Jaenisch
ead9d281d0
feat: extract SettingsSidebar into component
This is in need of at least one refactoring. Skeleton is redesigning
the AppRail we are using here. The layout is hard to style.
This implementation interacts with a drawer, but it will likely be
dropped in the final version.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-07-22 09:34:27 +02:00
André Jaenisch
67d7a70ec9
chore: add floating-ui as dependency
This is a hard requirement for Popups I'm going to use to implment the
specified Overlays.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-07-10 12:15:40 +02:00
André Jaenisch
0ca5d963f3
feat: extract MainMenuSummary into component
This is the top part of the main menu which includes the Avatar overlay.
I'm not quite sure how to label each part.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-07-09 20:49:58 +02:00
André Jaenisch
7484bfeb1a
refactor: extract Welcome page into component
This allows for proper testing and documentation in Storybook.
I also moved the image into its own component. This required me to
adjust the vitest.config.ts slightly because it wasn't finding the image
during tests.

Since components are fully translatable, this means we have new keys
now.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-07-06 18:29:39 +02:00
André Jaenisch
fe39bab2f0
chore: update dependencies
Always a good idea to start with the latest versions.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-07-06 17:13:17 +02:00
André Jaenisch
f807bf69b3
chore: update dependencies
I cannot upgrade ESLint to latest due to TypeScript parser dependency.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-07-04 08:21:35 +02:00
André Jaenisch
98f9f724ce
chore: update storybook dependencies
There is a v8 in the beta, so I update the dependencies to check whether
I need to adjust something.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-07-04 08:21:35 +02:00
André Jaenisch
41d82656b3
docs: add story for profile picture case
I also check for accessibility now.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-07-04 08:21:34 +02:00
André Jaenisch
a350e43362
chore: build storybook and deploy to Codeberg Page
We can now deploy Storybook to Codeberg Pages!

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-07-04 08:21:34 +02:00
André Jaenisch
e248e0073d
chore: setup and configure default Storybook
I had to downgrade Vite because the Storybook builder does not support
v5 yet. Therefore this will be on a separate branch and updated as we
move along with the codebase.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-07-04 08:21:34 +02:00
André Jaenisch
288ad752ad
chore: update dependencies
I'm going to start a new feature and want to make sure I'm running on
the latest compatible versions.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-06-21 09:00:14 +02:00
André Jaenisch
2252cf42fd
feat: prepare for deployment
When trying to deploy the application to my own domain I noticed that
the adapter is wrong. Since I'm not hosting anything in „the Cloud” I
went with a plain Node.js server. Therefore I have to use a specific
adapter and also fix the type of the server response. This in turn
uncovered a bug in the Created component which I also fixed.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-04-12 15:53:14 +02:00
André Jaenisch
fe999900ff
build: set up tauri
I was curious whether I could make it run. It works!

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-03-09 10:21:32 +01:00
André Jaenisch
efc55bcd9d
chore: bump version
Some meaningful progress has been made that warrants a new version.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-03-06 11:47:38 +01:00
André Jaenisch
69e7a2a1ee
feat: parse HTML responses of Vervis
I can successfully log in with credentials I'm using on Vervis.
The response is then parsed into an object that could be consumed in the
rest of Anvil.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-03-05 13:46:32 +01:00
André Jaenisch
b3acfe0331
feat: include a language switcher
This also sets the direction of layout. I hope to be able to spot design
implementation failures faster this way.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-02-20 13:51:48 +01:00
André Jaenisch
34be485a49
feat: import projects form
Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-02-16 15:48:48 +01:00
André Jaenisch
62aba86d5d
feat: set up internationalisation
This allows for translating the interface using Weblate at
translate.codeberg.org!

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-02-14 12:11:03 +01:00
André Jaenisch
9c4c8f04f4
refactor: break out routes into components
For now I'm following the Atomic Design philosophy with respect to
organising the components. I started with Avatar which wraps the
SvelteKit library with some defaults. I test it using vitest which is
now configured accordingly. All dependencies were updated to their
latest version.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2024-02-09 11:19:08 +01:00
André Jaenisch
aea63c0b4b
build: upgrade all dependencies
Before making any changes to the logic of the code I've updated all
dependencies and adjusted the configurations according to the migration
documentation. I ensured that I can still run the npm scripts like
before.

Signed-off-by: André Jaenisch <andre.jaenisch@posteo.de>
2023-12-20 23:18:17 +01:00
Pere Lev
4c252c83ca
Add octicons and use in account creation form 2023-05-22 17:39:28 +03:00
Pere Lev
740ed4e16e
Upgrade to skeleton 1.5 2023-05-22 16:06:32 +03:00
Pere Lev
e21c2309d6
Initial commit, using the "Skeleton Welcome" template 2023-05-03 12:28:02 +03:00