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
PR - Issue 50836 - Port Schema UI tab to React #3891
Comments
Comment from mreynolds (@mreynolds389) at 2020-01-21 20:01:37 Can we merge the two setState functions into this one? |
Comment from mreynolds (@mreynolds389) at 2020-01-21 20:03:54 This can be removed :) |
Comment from mreynolds (@mreynolds389) at 2020-01-21 20:14:56 I think you are missing a file from your PR, I can not build the server:
|
Comment from spichugi (@droideck) at 2020-01-21 20:44:14 rebased onto 8d415b6564c963469b8e8fe27879632a155b1d23 |
Comment from spichugi (@droideck) at 2020-01-21 20:45:12 I've put the files to PR. Please, check. |
Comment from spichugi (@droideck) at 2020-01-21 23:29:36 1 new commit added
|
Comment from spichugi (@droideck) at 2020-01-21 23:30:08
Fixed.
Fixed. |
Comment from mreynolds (@mreynolds389) at 2020-01-22 00:17:36 Clicking on Schema tab crashes browser:
|
Comment from spichugi (@droideck) at 2020-01-22 00:43:01 1 new commit added
|
Comment from spichugi (@droideck) at 2020-01-22 00:44:25 Hm, it doesn't crash the browser when I click on Schema but if I search for the attribute which has This commit should fix it. Please check. |
Comment from mreynolds (@mreynolds389) at 2020-01-22 07:04:51 Better, but when I try to add a new attribute i get a usage error:
We now need "--syntax " |
Comment from spichugi (@droideck) at 2020-01-22 11:17:43 1 new commit added
|
Comment from spichugi (@droideck) at 2020-01-22 11:19:37 Yeah, I was about to add it but then I decided to create the PR sooner for the initial review. |
Comment from mreynolds (@mreynolds389) at 2020-01-22 17:57:14 On FF there is no space between the checkbox and the label for user-defined classes. When adding an objectclass, the tab just starts reloading, but doesn't say its saving, just says that the page is reloading. This is confusing When I click on "view objectclass" it also showing the loading page. It should just open the modal, not reload the entire tab every time I want to look at an objectclass. So there's some weird toggling going on for these tasks. Also viewing an objectclass does not show the allowed attributes. Same issue when deleting an objectclass. When you choose delete the pages just says "Loading schema". Then a notification finally pops up saying the delete was successful. On the objectclass table if I reset the page size the browser crashes (for the Attribute table it works correctly):
|
Comment from spichugi (@droideck) at 2020-01-22 20:40:45 rebased onto 084799802b14b0fe7688d2d7a586fb59e4402470 |
Comment from spichugi (@droideck) at 2020-01-22 20:43:14
Fixed.
I agree, it's a bit confusing. I've split the spinners to 3 kinds: global, table, modal.
Works for me but I've added an additional precaution check. Please, review. |
Comment from mreynolds (@mreynolds389) at 2020-01-22 21:29:43 For objectclasses and attributes I still don't see a space between the checkbox and the label Only Non-standard Schema (attributes with X-ORIGIN: "user defined") Everything else is good! |
Comment from spichugi (@droideck) at 2020-01-22 22:25:56 rebased onto 2ebdd30 |
Comment from spichugi (@droideck) at 2020-01-22 22:27:08 Pull-Request has been merged by droideck |
Patch |
Cloned from Pagure Pull-Request: https://pagure.io/389-ds-base/pull-request/50837
Description: Port the schema UI tab to React and preserve all
existing features.
Resolves: #3890
Reviewed by: ?
The text was updated successfully, but these errors were encountered: