generated from RealDevSquad/website-template
-
Notifications
You must be signed in to change notification settings - Fork 164
feature: request management system page #701
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
Merged
iamitprakash
merged 16 commits into
RealDevSquad:develop
from
Swapnil099:feat/oooRequest/listing
Feb 27, 2024
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
b0572df
ooo requests listing and accept-reject functionality implemented
Swapnil099 9fd8d67
changes in sort and filter UI
Swapnil099 ae4cbcf
code review changes done
Swapnil099 42d8216
Merge branch 'develop' into feat/oooRequest/listing
sahsisunny 159ae20
made other tabs clickable and fixes broken UI issues in code review
Swapnil099 9111e08
Merge branch 'feat/oooRequest/listing' of https://github.com/Swapnil0…
Swapnil099 83f6182
removed filters and added toast
Swapnil099 baa1a73
minor change - made toast hidden
Swapnil099 49859ea
added meta tags as per code review suggestions"
Swapnil099 5f7edf0
updated meta tag author name and changes toast position
Swapnil099 938ccdf
variable renamed
Swapnil099 0ebcbdd
code review changes - added switch cases and module wise function ext…
Swapnil099 bcbd4f1
code review changes - handled few edge cases grecefully in util funct…
Swapnil099 b51c02b
code review changes - added dev feature flag
Swapnil099 a3990b9
removed console logs
Swapnil099 6cd05be
code review changes - renamed variables and removed comment
Swapnil099 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| const DEV_FEATURE_FLAG = true; | ||
| const Status = { | ||
| APPROVED: 'APPROVED', | ||
| PENDING: 'PENDING', | ||
| REJECTED: 'REJECTED', | ||
| }; | ||
|
|
||
| const OOO_REQUEST_TYPE = 'OOO'; | ||
| const REQUEST_CONTAINER_ID = 'request_container'; | ||
| const OOO_TAB_ID = 'ooo_tab_link'; | ||
|
|
||
| const DEFAULT_DATE_FORMAT = 'DD MMM YYYY'; | ||
|
|
||
| const MessageStatus = { | ||
| SUCCESS: 'SUCCESS', | ||
| ERROR: 'ERROR', | ||
| }; | ||
|
|
||
| const ErrorMessages = { | ||
| UNAUTHENTICATED: | ||
| 'You are unauthenticated to view this section, please login!', | ||
| UNAUTHORIZED: 'You are unauthrozed to view this section', | ||
| OOO_NOT_FOUND: 'OOO Requests not found', | ||
| SERVER_ERROR: 'Unexpected error occurred', | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,62 @@ | ||
| <!DOCTYPE html> | ||
| <html lang="en"> | ||
| <head> | ||
| <meta charset="UTF-8" /> | ||
| <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
| <meta | ||
| name="description" | ||
| content="This web page is for the requests managment functionality in real dev squad's dashboard website. admin can view and take action on the requests raised by the team members." | ||
| /> | ||
| <meta name="keywords" content="RDS, Request Managment" /> | ||
| <meta name="author" content="Real Dev Squad" /> | ||
| <link rel="icon" href="/images/index.ico" type="image/x-icon" /> | ||
| <link rel="preconnect" href="https://fonts.googleapis.com" /> | ||
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> | ||
| <link | ||
| href="https://fonts.googleapis.com/css2?family=Inter:wght@100;400;700;800&display=swap" | ||
| rel="stylesheet" | ||
| /> | ||
|
|
||
| <title>Requests | Real Dev Squad</title> | ||
| <link rel="stylesheet" href="/requests/style.css" /> | ||
| <script src="/helpers/loadENV.js"></script> | ||
| <script src="/requests/constants.js"></script> | ||
| <script src="/requests/util.js"></script> | ||
| <script src="/utils.js"></script> | ||
| <script src="/requests/script.js" defer></script> | ||
| </head> | ||
|
|
||
| <body> | ||
| <div class="header"> | ||
| <div class="header__contents"> | ||
| <img | ||
| src="/task-requests/assets/RDSLogo.png" | ||
| alt="RDS logo" | ||
| height="48" | ||
| width="48" | ||
| /> | ||
| <a href="/index.html" class="header__contents__navlink">Home</a> | ||
| </div> | ||
| </div> | ||
| <div class="container"> | ||
| <div class="container__header"> | ||
| <nav> | ||
| <a href="#" class="selected__tab" id="ooo_tab_link">OOO</a> | ||
| <a href="#" class="disabled__tab" id="task_tab_link">Task</a> | ||
| <a href="#" class="disabled__tab" id="extension_tab_link" | ||
| >Extension</a | ||
| > | ||
| </nav> | ||
| <div id="toast" class="hidden"> | ||
| <div class="message"></div> | ||
| <div class="progress-bar"></div> | ||
| </div> | ||
| </div> | ||
| <div class="container__body"> | ||
| <div id="request_container" class="request"></div> | ||
| <div class="container__body__loader hidden">Loading...</div> | ||
| </div> | ||
| </div> | ||
| </body> | ||
| </html> | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.