Skip to content

feat(refactor-db): prep the API for UI work - #1654

Merged
TorstenDittmann merged 82 commits into
feat-database-indexingfrom
feat-db-refactor-ui-fixes
Nov 24, 2021
Merged

TorstenDittmann merged 82 commits into
feat-database-indexingfrom
feat-db-refactor-ui-fixes

Conversation

@kodumbeats

@kodumbeats kodumbeats commented Sep 24, 2021 •

Copy link
Copy Markdown
Contributor

What does this PR do?

This PR brings together most of the API work left to be merged so we can complete the outstanding UI tasks.

Test Plan

Current test suite.

Todo

  • UI - Support all attribute types and icons (int, float, boolean, ip, email)
  • UI - Add attributes limit
  • UI - Add indexes limit
  • UI - Add attribute min, max and default
  • UI - Default values in the UI should obey attribute format rules
  • UI - Disable new document when no attributes
  • UI - Document
    • Array support
    • Required support
    • Min / Max support
  • UI - Unique index check
  • UI - Getting error when trying duplicated unique key:
Message: Lock wait

Related PRs and Issues

#1281

Have you read the Contributing Guidelines on issues?

Yes

@kodumbeats
kodumbeats marked this pull request as draft September 24, 2021 02:47
@Meldiron

Meldiron commented Sep 24, 2021 •

Copy link
Copy Markdown
Contributor
  • [API!] Float vs integer needs to be fixed ni both FloatValidator and on database level
  • [API!] "Failed" attributes cannot be deleted
  • [UI!] ID in documents list will disappear if the first attribute has status failed
  • [API!] String, required... Let's me save without data
  • [UI!] If you create a document with an array attribute, save it, then try to edit it, you will end up with only one item holding json array
  • [UI!+API?]Missing "usage" section
  • [NONE] Hacktoberfest issues are cancelled, no time to prepare alpha
  • [UI!] Texts are missing for collection/document level permission
  • [UI!+API?] What if we have array=true? Do we disable default? Do we support it?
  • [UI!+API!] It lets me create index for column that failed (it fails too)

@TorstenDittmann

Copy link
Copy Markdown
Contributor

Fixed:

  • Usage sections
  • Disable default if required or array

@TorstenDittmann
TorstenDittmann marked this pull request as ready for review November 8, 2021 13:30
@TorstenDittmann
TorstenDittmann merged commit 28e3450 into feat-database-indexing Nov 24, 2021
@TorstenDittmann
TorstenDittmann deleted the feat-db-refactor-ui-fixes branch November 24, 2021 17:31
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.

4 participants