Code Monkey home page Code Monkey logo

requests's Introduction

Atlas Service

Website Features

  • User-friendly, atlas style
  • Search for all requests and request history
  • SAML2 single sign on
  • LDAP/database user information fetching
  • Potentially a more robust users > director mapping
  • Email integration
  • Sending emails to confirm ticket statuses
  • Sending emails with ticket updates <- maybe only send when entered and when completed?
  • Accepting email replies and appending to request conversation
  • Weekly report queue emails
  • Renovate the ranking query
  • Request due date/estimated duration <- do we have this now and are we sure we want this?
  • Button to share request
  • Create tickets for other users
  • Ticket filtering
  • see if someone else is reading the same ticket
  • see if someone else is already replying to a ticket
  • option for other users to "watch" a ticket
  • option for adding attachments
  • option to take a screen shot directly
  • allow multiple people to be assigned to a single ticket
  • ticket labeling with scoped labels
  • allow tickets to be grouped into projects
  • allow tickets inside a project to be split

Atlas Integration

  • From atlas

    • Request changes to a report
    • Open report queue
    • See report queue in user profile
    • Request new report
  • From Request

    • See related reports when creating ticket
    • See related reports when viewing ticket
    • Link to report profile, or other way to get to usage faster
    • On closes requests add some sort of “health” to see what type of requests are most useful

Requests

  • Request history tracking
  • Remove unused fields from form, make request process easier
  • Better git integration

UI

  • Request Groups
  • Unassigned
  • Assigned
  • Request Categories
  • Open
  • Closed
  • Cancelled
  • In Progress
  • Doc Review
  • Code Review
  • Waiting for information (hold)

Request form Details

  • Request types

    • New report
    • Modify report
    • Problem
    • Request Access
  • Category (department)

  • Report name (or deep linked from atlas)

  • Content

  • Purpose

  • Columns

  • Criteria

  • Parameters

  • Registries ???

  • Similar reports

  • Additional info

  • Scheduled report?

  • Who to send to?

  • Frequency

  • Export to excel?

  • Data is regulatory

  • Is this for a major initiative

  • Attach files

  • Description

  • Notes (added by developer)

Development

Create a .env file

Next, copy the .env.example file into .env.

Update SAML_PRIVATE_KEY and SAML_ENC_PRIVATE_KEY to wherever you saved your .pem generated in the previous step. Easiest to copy the .pem into this folder.. but whatever floats your boat.

Consider changing the database url as well.

Build with RemixJs

Install meilisearch

  • Initial setup:

    npm run setup
  • Run the first build:

    npm run build
  • Start dev server:

    npm run dev

This starts your app in development mode, starts a few tools needed for development, several of which use docker:

Deployment

This Remix Stack comes with two GitHub Actions that handle automatically deploying your app to production and staging environments.

GitHub Actions

We use GitHub Actions for continuous integration and deployment. Anything that gets into the main branch will be deployed to production after running tests/build/etc. Anything in the dev branch will be deployed to staging.

Testing

Cypress

We use Cypress for our End-to-End tests in this project. You'll find those in the cypress directory. As you make changes, add to an existing file or create a new file in the cypress/e2e directory to test your changes.

We use @testing-library/cypress for selecting elements on the page semantically.

To run these tests in development, run npm run test:e2e:dev which will start the dev server for the app as well as the Cypress client. Make sure the database is running in docker as described above.

We have a utility for testing authenticated features without having to go through the login flow:

cy.login();
// you are now logged in as a new user

We also have a utility to auto-delete the user at the end of your test. Just make sure to add this in each test file:

afterEach(() => {
  cy.cleanupUser();
});

That way, we can keep your local db clean and keep your tests isolated from one another.

Vitest

For lower level tests of utilities and individual components, we use vitest. We have DOM-specific assertion helpers via @testing-library/jest-dom.

Type Checking

This project uses TypeScript. It's recommended to get TypeScript set up for your editor to get a really great in-editor experience with type checking and auto-complete. To run type checking across the whole project, run npm run typecheck.

Linting

This project uses ESLint for linting. That is configured in .eslintrc.js.

Formatting

We use Prettier for auto-formatting in this project. It's recommended to install an editor plugin (like the VSCode Prettier plugin) to get auto-formatting on save. There's also a npm run format script you can run to format all files in the project.

Alternate Tools

  • jitbit.com

requests's People

Contributors

christopherpickering avatar renovate[bot] avatar semantic-release-bot avatar

Watchers

 avatar

requests's Issues

[CHORE] Add a mapping of users to supervisors

Add a system where users can be mapped to a director/supervisor.

Probably not going to use LDAP for this but a manually managed field. We can occasionally prompt for a user's boss to be verified if they have opened a ticket.

Users tickets will auto flow up into their supervisors list.

[CHORE] Reply by email

Users should be able to reply by email to notifications.

  • A reply will add in the form of a comment
  • Attachments will be saved to the reply

[CHORE] Email Integration

Add email integration. Users can optionally receive emails for:

  • tickets created on their behalf
  • mentions
  • ticket status changing on their tickets and watched tickets
  • new comments on their tickets and watched tickets

Users should be able to "unsubscribe" from notification types.

[CHORE] Home page filters

Example list that is configurable statuses

  • Request Groups
  • Unassigned
  • Assigned
  • Request Categories
  • Open
  • Closed
  • Cancelled
  • In Progress
  • Doc Review
  • Code Review
  • Waiting for information (hold)

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Warning

These dependencies are deprecated:

Datasource Name Replacement PR?
npm @vitest/coverage-c8 Unavailable
npm npm-run-all Available

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps) Replace dependency npm-run-all with npm-run-all2 ^5.0.0
  • chore(deps) Update dependency @fullhuman/postcss-purgecss to v6
  • chore(deps) Update dependency @semantic-release/github to v10
  • chore(deps) Update dependency @semantic-release/release-notes-generator to v14
  • chore(deps) Update dependency @testing-library/dom to v10
  • chore(deps) Update dependency @testing-library/react to v15
  • chore(deps) Update dependency @testing-library/react to v16
  • chore(deps) Update dependency better-sqlite3 to v10
  • chore(deps) Update dependency better-sqlite3 to v11
  • chore(deps) Update dependency c8 to v10
  • chore(deps) Update dependency cmdk to v1
  • chore(deps) Update dependency eslint to v9
  • chore(deps) Update dependency eslint-plugin-cypress to v3
  • chore(deps) Update dependency happy-dom to v13
  • chore(deps) Update dependency happy-dom to v14
  • chore(deps) Update dependency isbot to v5
  • chore(deps) Update dependency semantic-release to v23
  • chore(deps) Update dependency semantic-release to v24
  • chore(deps) Update linters to v7 (major) (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • chore(deps) Update peter-evans/create-pull-request action to v6
  • chore(deps) Update semantic-release monorepo to v12 (major) (@semantic-release/commit-analyzer, @semantic-release/npm)
  • chore(deps) Update semantic-release monorepo to v13 (major) (@semantic-release/commit-analyzer, @semantic-release/release-notes-generator)
  • 🔐 Create all rate-limited PRs at once 🔐

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/release.yml
  • actions/checkout v4
  • actions/setup-node v4
  • bahmutov/npm-install v1
  • cycjimmy/semantic-release-action v3
.github/workflows/test.yml
  • styfle/cancel-workflow-action 0.12.0
  • actions/checkout v4
  • styfle/cancel-workflow-action 0.12.0
  • actions/checkout v4
  • styfle/cancel-workflow-action 0.12.0
  • actions/checkout v4
  • actions/setup-node v4
  • bahmutov/npm-install v1
  • styfle/cancel-workflow-action 0.12.0
  • actions/checkout v4
  • actions/setup-node v4
  • bahmutov/npm-install v1
  • styfle/cancel-workflow-action 0.12.0
  • actions/checkout v4
  • actions/setup-node v4
  • bahmutov/npm-install v1
  • styfle/cancel-workflow-action 0.12.0
  • actions/checkout v4
  • actions/setup-node v4
  • bahmutov/npm-install v1
  • cypress-io/github-action v5
.github/workflows/update.yaml
  • actions/checkout v4
  • peter-evans/create-pull-request v5.0.2
  • actions/checkout v4
  • peter-evans/create-pull-request v5.0.2
npm
package.json
  • @authenio/samlify-node-xmllint ^2.0.0
  • @fontsource/inter ^5.0.0
  • @hello-pangea/color-picker ^3.2.2
  • @lexical/clipboard ^0.12.0
  • @lexical/html ^0.12.0
  • @lexical/react ^0.12.0
  • @next-boost/hybrid-disk-cache ^0.3.0
  • @prisma/client ^5.0.0
  • @radix-ui/react-accordion ^1.1.1
  • @radix-ui/react-alert-dialog ^1.0.3
  • @radix-ui/react-aspect-ratio ^1.0.2
  • @radix-ui/react-avatar ^1.0.2
  • @radix-ui/react-checkbox ^1.0.3
  • @radix-ui/react-collapsible ^1.0.2
  • @radix-ui/react-context-menu ^2.1.3
  • @radix-ui/react-dialog ^1.0.3
  • @radix-ui/react-dropdown-menu ^2.0.4
  • @radix-ui/react-hover-card ^1.0.5
  • @radix-ui/react-label ^2.0.1
  • @radix-ui/react-menubar ^1.0.2
  • @radix-ui/react-navigation-menu ^1.1.2
  • @radix-ui/react-popover ^1.0.5
  • @radix-ui/react-progress ^1.0.2
  • @radix-ui/react-radio-group ^1.1.2
  • @radix-ui/react-scroll-area ^1.0.3
  • @radix-ui/react-select ^2.0.0
  • @radix-ui/react-separator ^1.0.2
  • @radix-ui/react-slider ^1.1.1
  • @radix-ui/react-switch ^1.0.2
  • @radix-ui/react-tabs ^1.0.3
  • @radix-ui/react-toast ^1.1.3
  • @radix-ui/react-toggle ^1.0.2
  • @radix-ui/react-tooltip ^1.0.5
  • @react-email/button ^0.0.13
  • @react-email/column 0.0.9
  • @react-email/container 0.0.11
  • @react-email/head 0.0.7
  • @react-email/hr 0.0.7
  • @react-email/html ^0.0.7
  • @react-email/link 0.0.7
  • @react-email/preview 0.0.8
  • @react-email/render ^0.0.10
  • @react-email/section 0.0.11
  • @react-email/text 0.0.7
  • @remix-run/express 2.4.0
  • @remix-run/node 2.4.0
  • @remix-run/react 2.4.0
  • @remix-run/serve ^2.0.0
  • @remix-run/server-runtime 2.4.0
  • autoprefixer ^10.4.14
  • bcryptjs ^2.4.3
  • better-sqlite3 ^9.0.0
  • class-variance-authority ^0.7.0
  • clsx ^2.0.0
  • cmdk ^0.2.0
  • color ^4.2.3
  • compression ^1.7.4
  • cookie ^0.6.0
  • cross-env ^7.0.3
  • date-fns ^2.30.0
  • dotenv ^16.0.3
  • dotenv-cli ^7.2.1
  • emojilib ^3.0.10
  • express ^4.18.2
  • imap ^0.8.19
  • isbot ^3.6.10
  • ldapjs-promise ^3.0.0
  • lexical ^0.12.0
  • lucide-react ^0.297.0
  • meilisearch ^0.36.0
  • meilisearch-medical-synonyms ^1.2.0
  • meilisearch-name-synonyms ^1.1.0
  • morgan ^1.10.0
  • nodemailer ^6.9.0
  • prisma ^5.0.0
  • prom-client ^15.0.0
  • quirrel ^1.13.4
  • react 18.2.0
  • react-day-picker ^8.7.1
  • react-dom 18.2.0
  • remix-auth ^3.4.0
  • remix-auth-form ^1.3.0
  • remix-auth-saml ^1.1.0
  • remix-image ^1.4.0
  • remix-image-sharp ^0.1.4
  • remix-utils ^6.1.0
  • samlify ^2.8.10
  • sharp ^0.33.0
  • slugify ^1.6.6
  • tailwind-merge ^2.0.0
  • tailwindcss-animate ^1.0.5
  • tiny-invariant ^1.3.1
  • @creativebulma/bulma-tooltip ^1.2.0
  • @faker-js/faker ^8.0.0
  • @fullhuman/postcss-purgecss ^5.0.0
  • @remix-run/dev 2.4.0
  • @remix-run/eslint-config 2.4.0
  • @semantic-release/changelog 6.0.3
  • @semantic-release/commit-analyzer 11.1.0
  • @semantic-release/exec 6.0.3
  • @semantic-release/git 10.0.1
  • @semantic-release/github 9.2.5
  • @semantic-release/npm 11.0.2
  • @semantic-release/release-notes-generator 12.1.0
  • @testing-library/cypress ^10.0.0
  • @testing-library/dom ^9.2.0
  • @testing-library/jest-dom ^6.0.0
  • @testing-library/react ^14.0.0
  • @testing-library/user-event ^14.4.3
  • @trivago/prettier-plugin-sort-imports ^4.1.1
  • @types/bcryptjs ^2.4.2
  • @types/color ^3.0.3
  • @types/compression ^1.7.2
  • @types/eslint ^8.37.0
  • @types/express ^4.17.14
  • @types/express-prometheus-middleware ^1.2.1
  • @types/morgan ^1.9.3
  • @types/node ^20.0.0
  • @types/nodemailer ^6.4.7
  • @types/react ^18.0.37
  • @types/react-color ^3.0.6
  • @types/react-dom ^18.0.8
  • @typescript-eslint/eslint-plugin ^6.0.0
  • @typescript-eslint/parser ^6.0.0
  • @vitejs/plugin-react ^4.0.0
  • @vitest/coverage-c8 ^0.33.0
  • c8 ^8.0.0
  • chokidar-cli ^3.0.0
  • concurrently ^8.0.0
  • cypress ^13.0.0
  • cz-conventional-changelog 3.3.0
  • esbuild ^0.19.0
  • eslint ^8.38.0
  • eslint-config-prettier ^9.0.0
  • eslint-plugin-cypress ^2.13.2
  • eslint-plugin-prettier ^5.0.0
  • eslint-plugin-remix ^1.1.1
  • happy-dom ^12.0.0
  • lint-staged ^15.0.0
  • msw ^2.0.0
  • npm-run-all ^4.1.5
  • open-cli ^7.2.0
  • prettier ^3.0.0
  • semantic-release ^22.0.0
  • start-server-and-test ^2.0.0
  • tailwindcss ^3.3.2
  • ts-node ^10.9.1
  • tsconfig-paths ^4.2.0
  • typescript ^5.0.0
  • vite ^4.3.1
  • vite-tsconfig-paths ^4.2.0
  • vitest ^0.34.0
  • node >=16

  • Check this box to trigger a request for Renovate to run again on this repository

[CHORE] LDAP login and data fetching

  • Add ability for users to login via LDAP(AD)
  • Add background job to import user metadata on a schedule
  • Add an admin page where import stats can be viewed and triggered

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.