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

Implements Tailwind #1

Merged
merged 6 commits into from
Aug 14, 2024
Merged

Implements Tailwind #1

merged 6 commits into from
Aug 14, 2024

Conversation

K3iiX
Copy link
Collaborator

@K3iiX K3iiX commented Aug 13, 2024

Installs

  • Tailwindcss
  • Postcss
  • Autoprefixer

package.json Outdated Show resolved Hide resolved
tailwind.config.js Outdated Show resolved Hide resolved
@K3iiX K3iiX changed the base branch from main to develop August 14, 2024 15:01
@marandino marandino self-requested a review August 14, 2024 15:55
Copy link
Collaborator

@nenedac nenedac left a comment

Choose a reason for hiding this comment

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

LGTM MGLBC

@K3iiX K3iiX merged commit ab38219 into develop Aug 14, 2024
@K3iiX K3iiX deleted the implement-tailwind branch August 14, 2024 16:01
marandino added a commit that referenced this pull request Sep 2, 2024
* Implements Tailwind (#1)

* adds: tailwind

RR-5

* adds: Navbar

RR-6

* fixes: package versions

* refactor: navbar styles

* refactor: navbar and layout

* adds: head

* fixes: missing navbar (#5)

* Refactoring and SQL database class implementation (#2)

* refactors(dependencies): moves into exact versions for all the dependencies
* adds: basic routes and removes unnecessary ones
* adds: initial work for the rotation routes, and adjusts the tsconfig
* adds: database helper and initial work for the rotation post
* adds: npm scripts for linting and creating a pull request
* adds: types for the rorro services

* adds: github action validator (#6)

* adds: github action validator

* Refactor functionality (#3)

* RR-18: refactors functionality

* fix: removes comments and changes spacing

* removes: unnecessary comment

* adds: imported types for slackUser

-removes unnecessary spaces

* RR-27 - Update Readme File (#7)

* adds: README.md

* refact: functions on logic.ts

- modified jsdocs

* homepage (#9)

* adds: hero and pricing components

* fixes: apostrophes breaking the build

* RR-13 RR-21 - Rotation Post and Unit Tests Infra (#12)

* adds jest

* adds: jest and test script

* separates the backend from the front-end in order to use Route Handlers

* adds: rotation post request

* adds: Slack Command Types for requests

* removes: onDuty and backup from the Rotation Type

* refactor: renames the rotationName path to just rotation

- this was necessary as Slack can't do anything else besides a POST request

* adds: unit test for rotation post

* rebuilds package-lock and adds static versions

* RR-11 / RR-9 - Features and About page components (#11)

* adds: features components

* adds: about page component

* adds: react icons and updates copywriting of the homepage

* RR-15 - Slack Rotation Post (#14)

* renames: rotation post to a new path

* adds: slack-rotation-post

* adds: eslintrc file, and fixes some of the code

* RR-33 - Rotation Get (#13)

* adds: GET route handler for dynamic organization and rotation parameters

* adds: endpoint to retrieve all the users

- added query function to the database.ts

* refactor: query to return columns and rows

* query format

Co-authored-by: Chiyen Venegas <[email protected]>

* fixes: format and removes unused files

---------

Co-authored-by: Chiyen Venegas <[email protected]>

* RR-40 - Fix User Data Table Names (#16)

* fixes: data names failing because sql cannot handle caseSensitive names

* adds: users profile query to populate the users table

* RR-1-Front-End-Dashboard (#15)

* remove: ant design dependencies and files

* adds: Tremor dependencies

* adds: dashboard route and users table demo

* adds: sorting function and priorities

* feat: fetch the endpoint and rename HeaderCells

* refactor: use the new types for user

* fixes: getSlackUsersForRotation

* refactors: get rotation users api

* refactor: dashboard page to use maps

* refactor: primary colors implementation and color palette

* adds: components folder and layout file

* adds: linting rules and fixes unused vars

* chore: linting

* removes: double quotes and adds eslint rule

* adds: vscode eslint configuration

* fixes: convoluted way to write the columns and types for layout

---------

Co-authored-by: Chiyen Venegas <[email protected]>

* RR-14 - Rotations-Get (#10)

* adds: initial work on rotation get

* adds: postgresClient early implementation

* adds: rotations get request

- implemented function to query the current active users

* adds: query for active users

* adds: GET function to retrieve active users

- format for database

* fix: slack_id use

* fix(queryCurrentActiveUsers): wrong filter params

- refactor on-duty-get to comply with new user data names

* RR-00 - Fixes Homepage and Styles (#18)

* refact: moves the head to the index

* adds: images

* removes: hardcoded text and bg colors

* adds: images folder

* adds: landing page image and moves the container to the layout

* adjust: copywriting

* adds: link for installing

* adds: alt text to images

* styles: changes the dark background color

* adds: spacing between sections

* refactor: navbar

* fixes: layout props

* adds: populates the pricing

* refactor: pricing readability

* fixes: navbar and sections

* adds: hero animations and fixes mobile view

* adds: features copywriting and mobile support

* fixes: pricing on mobile

* fixes: pricing section background

* RR-34 - Save Organization Token (#19)

* adds: encryption utils

* adds: auth confirmation initial endpoint

* adds: encryption and storage of the organization data

* fixes: key buffer wrong length

* fixes: unit tests failing because of missing env vars

* RR-41 - Pongale Monito (#20)

* refactor: moves to an older version of anime.js library

this will give us about 30% more performance

* adds: initial konami code hook for index

* refactor images for the homepage

* adds: konami code behaviour

* hotfix: import issues

* adds: animation for monito

* RR-37 - Rotate between the users (#17)

* adds: placeholder files

* feat: integrate user rotation logic with database

- implemented pre-existing user rotation logic to interact with the database
- utilized queries to update on-duty and backup statuses
- increases counter for the selected on-duty user
- added error handling and logging for database interactions

* chore: import format

- changes slack message for better understanding

* fix: unnecesary code on query

* RR-2 - Dashboard V1 (#21)

* adds: demo dashboard styles

* fix: SlackUser import issue

* adds: missing semicolon

* adds: tailwind clases and delete unnecessary code

* RR-42 - User Holiday Endpoint (#22)

* adds: endpoint to toggle on holiday status

* fix: slack id can be dynamic now

* fix: error messages for better understanding

* fix: format for document

* RR-00 - Eslint Config (#24)

* adds: eslint configuration

* removes: max length eslint rule

* adds: linting preferences

* initial linting

* adds: beginning of file empty line eslint rule

* adds: import order rules

* removes: no console rule eslint

* adds: concurrency and better triggers for gh action

* RR-38-44 Logs Display On Dashboard (#25)

* adds: placeholder files

- moves route for users for formatting
- removes redundant try catch of database query
- adjusted users table route to keep displaying info from query

* adds: logs functionality on dashboard

- adds query and routes for logs

* adds: millis to date converter on dashboard

* fix: end of line and json file

* RR-48 Refactor Holiday Logic To Query  (#26)

refactor: moves holiday logic to ternary query

* RR-49 - Add Logs To Create Rotation (#27)

* adds: query to create sql table with date index

* adds: insert logs query

- implemented create table if logs table does not exist prior to
  inserting on logs
- adds function to logic for later use as params for the insert logs
  query

* refactors: error handling and jsdocs

* RR-50 - Implement Logs (#28)

* adds: log table upon task creation

* fix: endpoint routing

- logs fully implemented, logs the task creation, holiday status change
  and on duty/backup change

* fix: query order to display data properly

* Update src/app/api/_utils/database.ts

Co-authored-by: Chiyen Venegas <[email protected]>

* adds: minor changes for better formatting

---------

Co-authored-by: Chiyen Venegas <[email protected]>

* RR-43 - Update User Endpoint (#23)

* feat(db): Implement user update method in PostgresClient

* feat: Add PUT handler to update user information in PostgreSQL

* fix: initial work of update user endpoint

* fix: merge issue

* adds: actions buttons and icons dependencies

* implement: modal popup to the table and eslint fixes

* adds: modal route and customize modal hero style

* feat: implement modal on the rows and delete action buttons with icons dependencies

---------

Co-authored-by: Chiyen Venegas <[email protected]>

* RR 46 - Slack Manifest and Softcode Dashboard Data (#30)

* adds: slack manifest

* adds: configuration initial route

* adds: jwt package

* adds: configuration slack endpoint

* fixes: request type for holiday put

* adds: slash command for re-roll

* removes unnecessary comments

* refactor: softcode organization and rotation name

* refactor

* fixes: sofcodes base api url and fixes the titles

* fixes: modal reloading upon clicking an user

* adds: handling of configuration without rotation name

* RR-52 - Rotation Post Fix (#33)

* adds: tokens to rotation post

* adds: users table unique index and prevent duplicates

* fixes, confirmation redirect

* refactor: makes the organization object have the team_id first

* fixes: get active slack endpoint exploding

* RR-54 - On Holiday Fix (#31)

* fix: regex to filter username

* adds: unit tests for rotation skip

* fixes: dashboard modal on desktop

* fix: missing parameters error message

* refactor: unit tests adding a mock file

* adds: test scripts and test watch

* adds: exceptions tests and fixes the regex

* adds(release-candidate): test script

* fixes: close button on the left

* fixes: table refresh on update user

---------

Co-authored-by: Chiyen Venegas <[email protected]>

* RR-51 - Reroll route and functionality (#29)

* feat: adds reroll task functionality and route

* fix: removes return status

---------

Co-authored-by: Chiyen Venegas <[email protected]>

* RR-53 Log Update For User Data (#32)

* adds: logs when changes are done in dashboard

* feature: dashboard log display specific changes

* fixes: unintended filtering of on_holiday users

---------

Co-authored-by: Chiyen Venegas <[email protected]>

* v1.1.0

adds: finalized version and softcodes install hrefs

* RR-00 - Hotfix organizations (#36)

adds: organization_id to allow installations from prod and beta

---------

Co-authored-by: Kedwin Araya Gomez <[email protected]>
Co-authored-by: Deyner Cruz <[email protected]>
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.

3 participants