wardrobe-ui's Introduction
wardrobe-ui's People
wardrobe-ui's Issues
Page not reloading after creating/updating item
- for updating,
editMode
needs to be turned off - for creating, idk what is wrong
Redirect to login if user already exists during registration
based on response code from backend
Find a new way to access user details
Currently, the call to fetch the user has been added to the base layout.server
page, causing an API call to go out every single time any page is loaded. Not ideal for performance
Add common handling for protected routes
- use
layout.server.ts
to check for auth - redirect to error page
- exclude non-protected routes
- also prevent navigating to routes allowed only for non-logged in users like
/login
and/register
Finalize variable naming conventions(cases) for code uniformity
We use html css js and each can have their own naming conventions, we need to finalize them
Write tests for the data fetch and UI elements
Add error handling for all backend API calls
CRUD tags
might need updates on the User
model itself, maybe something like custom settings?
Pull OpenAPI spec from API repo instead of needing a live server
- use yml from raw github content? or does the generator need only the json
- pull versions of the API spec
Setup CI and corresponding local git hooks
tests
lint check (and auto formatter)
- enforce typescript: no
"// ts no check"
and no.svelte
files withoutlang="ts"
- linter
- git guardian?
Enforce typescript across +page.svelte files
use <script lang="ts">
and also try to enforce it via tha linter?
Make model/spec updates smooth in both UI and backend
- should be minimum effort to update both UI and backend when we update the model or spec
- UI uses code gen, we should maybe not write our custom code in the generated code and explore an interface like approach?
- same for backend
Deal with image files instead of image URLs for item images
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.