Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New user interface (coral) setup #138

Merged
merged 63 commits into from
Oct 25, 2022
Merged

New user interface (coral) setup #138

merged 63 commits into from
Oct 25, 2022

Conversation

SmuliS
Copy link
Contributor

@SmuliS SmuliS commented Oct 24, 2022

No description provided.

programmiri and others added 30 commits October 17, 2022 09:57
🙈 Add OS generated files to gitignore.
📝 Add doc for accessibility for coral.
📝 Add doc for frontend testing for coral.
📝 Add doc for documentation for coral.
📝 Add doc for directory structure for coral.
ESLint was set up using npm init script.

Resolves: #110
coral: add static linting
SmuliS and others added 21 commits October 21, 2022 18:48
CSS Modules work by default.

Refers: #113
feat[coral]: Showcase css modules with example
- remove lint-staged that was accidentally installed on root instead of coral.
- add lint-staged package to coral
- add script to package.json
- update pre-commit script to always change to git-root/coral
- use variable for frontend-root to make it easier to change that later
- remove echo
- use --prefix instead of changing directory
lint-staged passes changed filenames as argument. If files
are passed as argument `tsc` does not use tsconfig.json,
but CLI inline config.

Also run plain prettier and eslint commands with lint-staged.
the `pnpm lint` does not use files as argument.

Refers: #112
- add missing info about pnpm and current state of styling
- make text more consistent
Since it's not a part of automated processes, there is no need for it to be a dependency.
Instead add a explanation how to use it if wanted.
--silent flag is needed, otherwise if there is warning in linting
(which we are ok with) the error will bubble up in the terminal
and pollute output.
@SmuliS SmuliS requested review from a team as code owners October 24, 2022 13:47
Copy link
Contributor

@programmiri programmiri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@programmiri programmiri linked an issue Oct 24, 2022 that may be closed by this pull request
# Notes about documentation

**TL;DR**
There are many things we may need to discuss at some point in the future, but are not relevant (so much) right now. One things we should start right away is think about and adding [low-level documentation](#Thoughts-about-low-level-documentation) about our code base. We can do that by adding markdown files close to the code (where we need them). This is a low effort start and we can iterate over that approach later, if we need to.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One 'thing' we should ..? typo may be

@programmiri programmiri merged commit dded222 into main Oct 25, 2022
@programmiri programmiri deleted the coral branch October 25, 2022 10:27
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.

🪸 ui-rewrite: Merge coral to main
4 participants