Giter Site home page Giter Site logo

data-marketplace's People

Contributors

aronhoyer avatar dependabot[bot] avatar nilsml avatar ovineq avatar shikhamishra9 avatar snyk-bot avatar wenche avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

data-marketplace's Issues

Set up hosting

Todos

  • Talk with the Raidx team about setup with internal network
  • Set up application in Radix
  • Define AD group(s) for application
  • Create new internal repository for radix config

Acceptance criteria

  • PR's merged to main are automatically deployed to production environment
  • Production environment is reachable for people on the internal network
  • Users need to authenticate to be able to use the app

Implement "Add to cart"

When the user clicks the "Add to cart" button on an asset, the assets should be added to the shopping cart.

Acceptanse criteria

  • It should be possible to add an asset to the cart
  • The cart must keep track on the number of items added
  • The cart must know which assets are added
  • The cart icon in the nav bar must display the correct number if items added (if not empty)

Update authentication implementation

The current implementation doesn't refresh access token when it expires.

In order for the access token to get refreshed, we shouldn't check for whether or not localStorage has an access_token (as seen here).

Additionally we can update the whole auth flow to be more legible and easier to follow.

Essentially, we might be looking at an implementation like this:

Look at this example for inspiration

Utilize i18n package for static text

To make static texts easier to maintain, and potential translations down the line easier to implement, we should add a package like next-i18next.

This will allow us to store static text in one place, which will make it easier to maintain copy.

Acceptance criteria

  • All texts are added to a file for English text
  • The components use these texts instead of hard coded text inside the code itself

Add github actions integration checks

Building off from previous projects integration checks.
Nextjs runs eslint as part of its build process, so we won't need a seperate step for that. Test will come in ones we stabilize a little more.

Add login

The Collibra API has an endpoint that lets us authenticate the user. Authentication is session based, and the endpoint will return a session ID, in addition to some user data.

Checkout: Restore checkout state on refresh

When a user refreshes during the checkout process or navigate back and/or forward in the checkout process, they should automatically get redirected to the step they were on and state should be restored

AB#84042

Log CI issues to Slack

Acceptance criteria

If error occurs during build or deployment - report to #data-marketplace-ci channel

Add .nvmrc file

Also update documentation with additional step to use the file (nvm use)

Create Wizard/Funnel component

Should at least function for the checkout process, but secondarily it should be general enough that we can use it for any wizard/funnel flow.

When we've decided on which form library we'll use—if any—the wizard/funnel component should hold the form state.

It should be tested at least with unit tests.

Run lint on pre-commit

To keep our codebase consistent in styling, and to the git history to get riddled with "fix lint errors" commits, we should set up a pre-commit hook to run Eslint and other code styling tools.

Implement front page UI

  • Mock product data in congruency with models from Collibra
  • Header/Navbar
  • Search bar
  • "Popular" section

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.