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

fix(tables): filter behavior #382

Merged
merged 7 commits into from Nov 21, 2022
Merged

fix(tables): filter behavior #382

merged 7 commits into from Nov 21, 2022

Conversation

RemiBonnet
Copy link
Member

@RemiBonnet RemiBonnet commented Nov 18, 2022

What does this PR do?

  • Fixed auto-close filter menu
  • Fixed behavior, continue to filter when we add new data (with a wrapper <TableRowFilter>)
  • Refactored all Tables

PR Checklist

Global

  • This PR does not introduce any breaking change
  • This PR introduces breaking change(s) and has been labeled as such
  • I have found someone to review this PR and pinged him

Store

  • This PR introduces new store changes

NX

  • I have run the dep-graph locally and made sure the tree was clean i.e no circular dependencies
  • I have followed the library pattern i.e feature, ui, data, utils

Clean Code

  • I made sure the code is type safe (no any)
  • I have included a feature flag on my feature, if applicable

@evoxmusic
Copy link
Contributor

A preview environment was automatically created via Qovery.
Click on the link below to follow its deployment and use it.
👉 [PR] staging - fix(table): filter behavior - 2022-11-18T15:42:03Z

Another comment will be posted when deployments are terminated

@nx-cloud
Copy link

nx-cloud bot commented Nov 18, 2022

☁️ Nx Cloud Report

CI is running/has finished running commands for commit d72b1b3. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 2 targets

Sent with 💌 from NxCloud.

@evoxmusic
Copy link
Contributor

Your preview environment has been successfully deployed !
Click on the link below to open your service:
👉 console
👉 storybook

@RemiBonnet RemiBonnet added the breaking change The PR introduces one or more breaking changes label Nov 21, 2022
@RemiBonnet RemiBonnet marked this pull request as ready for review November 21, 2022 15:12
Copy link
Contributor

@bdebon bdebon left a comment

Choose a reason for hiding this comment

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

The only thing I found was a typo that already here...
Good job Remi it's gonna be a real improvement of the ux and the dx!

@@ -58,13 +60,13 @@ export function PageVariablesMemo(props: PageVariablesProps) {
export const PageVariables = React.memo(PageVariablesMemo, (prevProps, nextProps) => {
// Stringify is necessary to avoid Redux selector behavior and so many value are necessary because updated_at is not
// updated during an import... Problem from backend.
const prevProsIds = prevProps.filterData.map((envVariables) => ({
const prevProsIds = prevProps.variables.map((envVariables) => ({
Copy link
Contributor

Choose a reason for hiding this comment

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

there is a typo in prevPros

@RemiBonnet RemiBonnet changed the title fix(table): filter behavior fix(tables): filter behavior Nov 21, 2022
@RemiBonnet RemiBonnet merged commit a255239 into staging Nov 21, 2022
@RemiBonnet RemiBonnet deleted the fix/table-filters branch November 21, 2022 16:24
@bdebon
Copy link
Contributor

bdebon commented Nov 24, 2022

🎉 This PR is included in version 1.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change The PR introduces one or more breaking changes released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants