Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

Collapsible table - #8443

Closed
elizavetaRa wants to merge 4 commits into
owncloud:masterfrom
cernbox:upstream_poc-package
Closed

elizavetaRa wants to merge 4 commits into
owncloud:masterfrom
cernbox:upstream_poc-package

Conversation

@elizavetaRa

@elizavetaRa elizavetaRa commented Feb 15, 2023 •

Copy link
Copy Markdown
Contributor

Description

  • adds to <recource-table> the possibility to switch between either the <oc-table> component or it's advanced version from poc-package based on option "enableAdvancedTable" in config.json
  • adds collapsible table feature

@sonarqubecloud

Copy link
Copy Markdown

SonarCloud Quality Gate failed.    Quality Gate failed

Bug C 2 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

8.5% 8.5% Coverage
28.0% 28.0% Duplication

@pascalwengerter pascalwengerter left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Need to give this another look, just my first batch of finds :) more to come, thanks for the work already!

</script>
<style lang="scss">
.oc-table.condensed > tbody > tr {
.condensed > .oc-table > tbody > tr {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What's the motivation behind this change? Asking out of curiosity :)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@diocas diocas Jun 1, 2023 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

With the collapsible table, condensed is applied to a div, that in turn contains the dropdown selector and the oc-table, instead of being applied to oc-table.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

An alternative would be to place the condensed in the table.

:header-position="fileListHeaderY"
:sort-by="sortBy"
:sort-dir="sortDir"
:grouping-settings="groupingSettings"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Since groupingSettings is not a required prop, you could omit it here? Seems like you pass a basically empty object below?

@elizavetaRa
elizavetaRa force-pushed the upstream_poc-package branch from 238d65f to 400cd8c Compare June 7, 2023 10:03
@tbsbdr

tbsbdr commented Jun 13, 2023

Copy link
Copy Markdown

relates to 7dc1c55

@JammingBen

Copy link
Copy Markdown
Contributor

This has been superseded by #9438.

@JammingBen JammingBen closed this Jul 19, 2023
@diocas
diocas deleted the upstream_poc-package branch July 24, 2023 13:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants