steventhuriot / dinnertime Goto Github PK
View Code? Open in Web Editor NEWWebsite displaying what will be for dinner at work!
Home Page: https://dinner.thuriot.be
License: MIT License
Website displaying what will be for dinner at work!
Home Page: https://dinner.thuriot.be
License: MIT License
When you get redirected to company select, you should go back to where you came from
Let's store our secrets in there, shall we. ๐
Easy to fix by prefixing the company trigger with
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
Instead of just showing the highest level
Also show companies in menu instead of profile
It would also be far better to remove the tabs from the menu management page and place them as submenu items
Post a message on service bus and handle CSV async instead of doing it during the first call
Split admin section into lazy loading module to save some loading times on the default page
Create a sample CSV and hook it up to the link placeholder on the upload-menu screen.
When you get redirected to company select, you should go back to where you came from
Add some info, links for login/signup
Cover should be 100vh so you scroll down for the info
When you only have one company assigned, skip the company selection screen and auto redirect instead.
Allow users to reset their passwords
Cause you might still have employee subs you want to manage.
Add a popup overlay when clicking it instead of navigating to your profile.
Move :
Navigate admin section, then sign out, then sign in again. Observables trigger with the incorrect company id
Replace with new Error class that will set the correct http codes for us.
Also map EF errors:
// <seealso href="https://docs.microsoft.com/en-us/sql/relational-databases/errors-events/database-engine-events-and-errors"/>
public enum SqlErrorNumber
{
ConstraintViolation = 547,
UniqueIndexViolation = 2601,
DuplicateKeyViolation = 2627
}
public static bool IsSqlError(this DbUpdateException dbUpdateException, SqlErrorNumber sqlErrorNumber)
{
return (dbUpdateException?.InnerException) switch
{
SqlException msSqlException => msSqlException.IsSqlError(sqlErrorNumber),
_ => false
};
}
public static bool IsSqlError(this SqlException sqlException, SqlErrorNumber sqlErrorNumber)
{
return sqlException?.Number == (int)sqlErrorNumber;
}
Allow marking a company as private, meaning you can only see the menu while logged in with a token that has access to the company (e.g. you're a member, officer or leader)
Only the company admin and officers can remove you from a company today. Allow leaving by your own choice.
This should also remove all your user roles in case you're not just a regular member.
Leaders can't leave, they should get a message to transfer leadership first.
dialogreference.close();
Some catchError
pipes aren't written the correct way, breaking the pipes. Rewrite them so they pipe on the requests
Report bug link that links to this Repo
manage name, etc
You can click it multiple times
Menu and category creation
CSV upload as well (or maybe do it based on file title?)
Allow a company to upload their own background.
Add an "I agree with usage rights" + a page that lists them
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.