Code Monkey home page Code Monkey logo

dinnertime's People

Contributors

steventhuriot avatar

Watchers

 avatar  avatar  avatar

dinnertime's Issues

Delete account

  • Account removal functionality
  • Company removal functionality for leaders

Azure Keyvault

Let's store our secrets in there, shall we. ๐Ÿ˜„

Company Trigger is slow

Easy to fix by prefixing the company trigger with

SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;

UI Tweaks & Fixes

  • set width on menu tiles on the employee's page
  • white background on menu + black text ( Make configurable later? )
  • remove "menu" title from navigation bar
  • blue colors should be pink
  • top bar should be 1 color
  • hamburger should be completely on the right
  • sign up button in pink
  • remove pink lines on home page
  • remove colors from page titles
  • show selected company on admin page
  • move home page logo so it's not in the center
  • fix transfer leadership (dropdown has a scrollbar)
  • Leader + officer --> explain in a short sentence what they are or do

Menu should have sublevels

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

Create sample CSV

Create a sample CSV and hook it up to the link placeholder on the upload-menu screen.

Redirect after login

When you get redirected to company select, you should go back to where you came from

Extend landing page

Add some info, links for login/signup

Cover should be 100vh so you scroll down for the info

Auto company select

When you only have one company assigned, skip the company selection screen and auto redirect instead.

OverlayPanel on Profile Icon

Add a popup overlay when clicking it instead of navigating to your profile.

Move :

  • the language picker
  • sign out
  • Something else?

Clean up exception usage

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;
}

Privacy Settings

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)

Allow removing your own employee role

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.

Upgrade to Angular 10

  • Create categories inline
  • Create menus inline
  • fill in the correct ids after creating a new line
  • Invite users inline
  • Transfer leadership without a dialog or try to figure out why PrimeNG 10 is causing a navigation on dialogreference.close();
  • Add floatlabels to input fields

CatchError

Some catchError pipes aren't written the correct way, breaking the pipes. Rewrite them so they pipe on the requests

Report bug

Report bug link that links to this Repo

Usage rights

Add an "I agree with usage rights" + a page that lists them

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.