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

Undo ControlPanel: Fetches all the transactions from @transactions endpoint and display them in Undo-Controlpanel #3457

Merged
merged 47 commits into from
Oct 1, 2022

Conversation

MdSahil-oss
Copy link
Contributor

@MdSahil-oss MdSahil-oss commented Jul 4, 2022

@netlify
Copy link

netlify bot commented Jul 4, 2022

Deploy Preview for volto canceled.

Name Link
🔨 Latest commit dcc4772
🔍 Latest deploy log https://app.netlify.com/sites/volto/deploys/6336a010f1c8e90008156f36

@cypress
Copy link

cypress bot commented Jul 4, 2022



Test summary

372 0 15 0


Run details

Project Volto
Status Passed
Commit dcc4772
Started Sep 30, 2022 7:55 AM
Ended Sep 30, 2022 8:09 AM
Duration 13:44 💡
OS Linux Ubuntu - 20.04
Browser Chrome 105

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@tiberiuichim
Copy link
Contributor

Hi @MdSahil-oss. It's really good to see your contribution! I have one feedback, maybe you can take it into consideration. I've always wished that some Volto's "heavy" components (such as Contents.jsx, etc) are shorter, or at least better organized to make the JSX render part shorter, easier to understand. I've noticed that you've inlined some schema, for example, to the <Form> component. I think that can be extracted to a separate variable.

src/actions/undoControlPanel/transactions.js Outdated Show resolved Hide resolved
src/components/index.js Outdated Show resolved Hide resolved
src/components/manage/Controlpanels/Controlpanels.jsx Outdated Show resolved Hide resolved
src/components/manage/Controlpanels/Controlpanels.jsx Outdated Show resolved Hide resolved
src/reducers/index.js Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
@robgietema robgietema removed the request for review from tisto September 6, 2022 07:48
@sneridagh sneridagh added this to the 16.x.x milestone Sep 27, 2022
@MdSahil-oss
Copy link
Contributor Author

@sneridagh Do I need to resolve merge conflict from this PR ?

@sneridagh
Copy link
Member

@MdSahil-oss sure, please do.

@sneridagh
Copy link
Member

sneridagh commented Sep 28, 2022

Regarding the changes in yarn.lock (strange ones), are you using latest (classic) yarn?

@MdSahil-oss
Copy link
Contributor Author

@sneridagh I'm using 1.22.19 yarn version

@MdSahil-oss
Copy link
Contributor Author

@sneridagh After rebasing my branch with maser I'm getting an error:

/home/md/GSOC_plone/volto/razzle.config.js:234
  const { include } = options.webpackOptions.babelRule;
          ^

TypeError: Cannot destructure property 'include' of 'options.webpackOptions.babelRule' as it is undefined.
    at defaultModify (/home/md/GSOC_plone/volto/razzle.config.js:234:11)
    at modifyWebpackConfig (/home/md/GSOC_plone/volto/razzle.config.js:317:27)
    at /home/md/GSOC_plone/volto/node_modules/razzle/config/createConfigAsync.js:1023:22
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
error Command failed with exit code 1.

Therefore not able to test/run project locally.

@sneridagh
Copy link
Member

@MdSahil-oss Delete your node_modules folder. Run yarn again.

MdSahil-oss and others added 5 commits September 28, 2022 23:58
* master:
  Add missing --noninteractive in the build script in package.json
  lazyloading of rrule lib (#3402)
  Display description in control panel if the field is available (#3696)
  Run yarn deduplicate (#3694)
@sneridagh
Copy link
Member

I don't have the slightness clue of why the yarn.lock was changed. I reverted back to the master version.

@sneridagh sneridagh merged commit 2d72925 into master Oct 1, 2022
@sneridagh sneridagh deleted the undo-control-panel branch October 1, 2022 16:37
sneridagh added a commit that referenced this pull request Oct 1, 2022
* master:
  Back to development
  Release 16.0.0-alpha.40
  Prepare for release
  Working copy actions now render errors if they fail (#3388)
  Undo ControlPanel: Fetches all the transactions from @Transactions endpoint and display them in Undo-Controlpanel (#3457)
  Update to use Plone 6 beta 2 (#3700)
  Updated deprecated moment.js code (#3160)
  Add missing --noninteractive in the build script in package.json
sneridagh added a commit that referenced this pull request Oct 1, 2022
* master:
  Back to development
  Release 16.0.0-alpha.40
  Prepare for release
  Working copy actions now render errors if they fail (#3388)
  Undo ControlPanel: Fetches all the transactions from @Transactions endpoint and display them in Undo-Controlpanel (#3457)
  Update to use Plone 6 beta 2 (#3700)
sneridagh added a commit that referenced this pull request Oct 2, 2022
* master: (386 commits)
  Remove no longer present option in cypress github action, by default, headless is true (#3711)
  More disable flaky test regarding many users/groups (related to #3705) (#3714)
  [WIP] Lazyload sentry (#3012)
  Comment out flaky test for now regarding many users/groups (#3705)
  Back to development
  Release 16.0.0-alpha.40
  Prepare for release
  Working copy actions now render errors if they fail (#3388)
  Undo ControlPanel: Fetches all the transactions from @Transactions endpoint and display them in Undo-Controlpanel (#3457)
  Update to use Plone 6 beta 2 (#3700)
  Updated deprecated moment.js code (#3160)
  Add missing --noninteractive in the build script in package.json
  lazyloading of rrule lib (#3402)
  Display description in control panel if the field is available (#3696)
  Run yarn deduplicate (#3694)
  Back to development
  Release 16.0.0-alpha.39
  Prepare for release
  Fix call to `@plone/scripts/i18n` (now a commonJS module) (#3693)
  Back to development (@plone/scripts)
  ...
sneridagh added a commit that referenced this pull request Oct 4, 2022
* master: (59 commits)
  Back to development (generator-volto)
  Release generate-volto 5.9.1
  Prepare for release
  Add missing --noninteractive in the generator template
  Add user form password reset request (#3710)
  Usability fixes in addon control panel  (#3707)
  Fix convenience api folder versions
  spanish translation (#3709)
  basque translation (#3708)
  Remove no longer present option in cypress github action, by default, headless is true (#3711)
  More disable flaky test regarding many users/groups (related to #3705) (#3714)
  [WIP] Lazyload sentry (#3012)
  Comment out flaky test for now regarding many users/groups (#3705)
  Back to development
  Release 16.0.0-alpha.40
  Prepare for release
  Working copy actions now render errors if they fail (#3388)
  Undo ControlPanel: Fetches all the transactions from @Transactions endpoint and display them in Undo-Controlpanel (#3457)
  Update to use Plone 6 beta 2 (#3700)
  Updated deprecated moment.js code (#3160)
  ...
sneridagh added a commit that referenced this pull request Oct 4, 2022
* master: (59 commits)
  Back to development (generator-volto)
  Release generate-volto 5.9.1
  Prepare for release
  Add missing --noninteractive in the generator template
  Add user form password reset request (#3710)
  Usability fixes in addon control panel  (#3707)
  Fix convenience api folder versions
  spanish translation (#3709)
  basque translation (#3708)
  Remove no longer present option in cypress github action, by default, headless is true (#3711)
  More disable flaky test regarding many users/groups (related to #3705) (#3714)
  [WIP] Lazyload sentry (#3012)
  Comment out flaky test for now regarding many users/groups (#3705)
  Back to development
  Release 16.0.0-alpha.40
  Prepare for release
  Working copy actions now render errors if they fail (#3388)
  Undo ControlPanel: Fetches all the transactions from @Transactions endpoint and display them in Undo-Controlpanel (#3457)
  Update to use Plone 6 beta 2 (#3700)
  Updated deprecated moment.js code (#3160)
  ...
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.

None yet

5 participants