zap-extensions icon indicating copy to clipboard operation
zap-extensions copied to clipboard

webuipoc: UI implementation to reactWeb

Open MZ-AD opened this issue 1 year ago • 12 comments

Eslint configured in our Zap React App.

Issue Reference: #8287.

MZ-AD avatar May 17 '24 06:05 MZ-AD

This needs to integrate the latest changes.

thc202 avatar May 23 '24 13:05 thc202

Ready for review: did code cleanup, conflicts resolve and rebase.

MZ-AD avatar Jun 03 '24 15:06 MZ-AD

Ready for review: did code cleanup, conflicts resolve and rebase.

Conflict resolved - Ready for review

MZ-AD avatar Jun 07 '24 08:06 MZ-AD

This PR is ready to review

MZ-AD avatar Jun 21 '24 21:06 MZ-AD

It has conflicts. Though that doesn't prevent review, but it'll need to be addressed before merge.

kingthorin avatar Jun 21 '24 21:06 kingthorin

It has conflicts. Though that doesn't prevent review, but it'll need to be addressed before merge.

Resolved them just now

MZ-AD avatar Jun 22 '24 03:06 MZ-AD

The build is failing.

thc202 avatar Jun 24 '24 05:06 thc202

The build is failing.

I am unable to understand the reason it's failing. npm i is working fine locally. Do you see any specific issue?

njmulsqb avatar Jun 27 '24 11:06 njmulsqb

Click checks, pick one of the failed jobs, look at the log.

kingthorin avatar Jun 27 '24 11:06 kingthorin

Its stating that npm ci run failed, but why is it even executing at first place? It's not defined in package.json file.

njmulsqb avatar Jun 27 '24 11:06 njmulsqb

Probably a bad merge commit. You'd be better off rebasing and addressing conflicts.

kingthorin avatar Jun 27 '24 11:06 kingthorin

The ci is to do a clean install: https://docs.npmjs.com/cli/v10/commands/npm-ci worth running that locally to make sure all is correct.

thc202 avatar Jun 27 '24 13:06 thc202

Re-doing npm i solved the build failing problem.

njmulsqb avatar Jul 04 '24 17:07 njmulsqb

I get the same error when trying to build this as per the CI build: 'npm ci' can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with npm install before continuing. We cant review this PR unless it builds ☹️

psiinon avatar Jul 08 '24 10:07 psiinon

Still failing to build :/

psiinon avatar Jul 09 '24 07:07 psiinon

Still failing to build :/

Fixed.

MZ-AD avatar Jul 09 '24 08:07 MZ-AD

Seems to have a ton of unrelated commits again.

kingthorin avatar Jul 09 '24 11:07 kingthorin

Seems to have a ton of unrelated commits again.

I'm struggling with rebase, can you tell me exact way or cmds to get this done

MZ-AD avatar Jul 09 '24 11:07 MZ-AD

To provide commands to fix it I'll have to clone it later and try.

As for rebasing, the normal process is:

git fetch upstream
git rebase upstream/main
git push --force

kingthorin avatar Jul 09 '24 11:07 kingthorin

image It will take forever to resolve conflicts and rebase; what's the best practice here, should I rebase after every few commits?

MZ-AD avatar Jul 09 '24 12:07 MZ-AD

If I know no one else has changed the code I'm working on then I just do a mixed reset, not sure if thats good practice or not..

psiinon avatar Jul 09 '24 12:07 psiinon

I can't seem to figure out what you've done 😞

kingthorin avatar Jul 09 '24 13:07 kingthorin

There are so many conflicts :( I am trying to resolve in rebase for past 30 mins or so, any other solution I can try to fix this?

MZ-AD avatar Jul 09 '24 13:07 MZ-AD

Don't worry about the commits.

thc202 avatar Jul 09 '24 13:07 thc202

The build is failing due to changes in other add-ons ☹️

psiinon avatar Jul 11 '24 10:07 psiinon

The build is failing due to changes in other add-ons ☹️

any idea how to get this done , I've tried npm i and npm ci

MZ-AD avatar Jul 11 '24 10:07 MZ-AD

Nice work. Glad you got this passing again!

kingthorin avatar Jul 13 '24 00:07 kingthorin

IMO the tree should look like more the Sites tree (or the example web UI, i.e. show path segments rather than the full URI). I guess it can be improved later.

thc202 avatar Jul 16 '24 14:07 thc202

Thank you!

thc202 avatar Jul 16 '24 17:07 thc202