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

Rockon pre & post-install summaries are inconsistent #2904

Closed
Hooverdan96 opened this issue Sep 24, 2024 · 5 comments
Closed

Rockon pre & post-install summaries are inconsistent #2904

Hooverdan96 opened this issue Sep 24, 2024 · 5 comments
Assignees

Comments

@Hooverdan96
Copy link
Member

Hooverdan96 commented Sep 24, 2024

As a continuation of the original issue #1588 (and associated PR #2887) there is possibly another instance where the shares are swapped Name of share within the docker container vs. the Rockstor share mapped to it. For example, when installing the WGEasy Rockon (also see recent PR #389) the share is swapped in the summary screen before the installation is triggered:

image

/etc/wireguard should be the name, and the blurred out Rockstor share would be the Mapped Representation

@phillxnet
Copy link
Member

From the current mouse-over/tooltips

  • src/rockstor/storageadmin/static/storageadmin/js/templates/rockons/settings_summary_table.jst

Name:

"Name of the resource according to Rockstor. Eg: Share names, port numbers etc.."

Mapped representation:

"Name/representation of the resource inside the Rock-on. Eg: Shares map to directories, ports map to (possibly different)ports to send traffic to the Rock-on, etc.."

@Hooverdan96 in the given example: this is counter to:

/etc/wireguard should be the name, and the blurred out Rockstor share would be the Mapped Representation

Room for improvement for sure on these wordings however: in both tooltip and header text. Still investigating there as I know we have other anomalies. I'll likely just change this issues title once I'm clear on what is mostly wrong here :) . And the previously discussed (in your referenced issues) our self-inconsistency re this summary table and the post install info table.

@phillxnet
Copy link
Member

phillxnet commented Oct 4, 2024

Pre-Install Settings summary:

RockonInstallSummary = RockstorWizardPage.extend({
initialize: function() {
this.template = window.JST.rockons_install_summary;
this.table_template = window.JST.rockons_summary_table;

Referenced template:

Rock-ons summary table:
https://github.com/rockstor/rockstor-core/blob/testing/src/rockstor/storageadmin/static/storageadmin/js/templates/rockons/summary_table.jst

Post-install Settings summary:

Via spanner on already installed Rock-on.

RockonSettingsSummary = RockstorWizardPage.extend({
initialize: function() {
this.template = window.JST.rockons_settings_summary;
this.sub_template = window.JST.rockons_settings_summary_table;
this.rockon = this.model.get('rockon');
RockstorWizardPage.prototype.initialize.apply(this, arguments);
this.initHandlebarHelpers();
},

Referenced template:

Rock-ons settings summary table:
https://github.com/rockstor/rockstor-core/blob/testing/src/rockstor/storageadmin/static/storageadmin/js/templates/rockons/settings_summary_table.jst

@phillxnet phillxnet changed the title Rockon pre-install summary swapped column contents Rockon pre & post-install summaries are inconsistent Oct 4, 2024
@phillxnet
Copy link
Member

phillxnet commented Oct 4, 2024

I'm moving in the direction of normalising on the order we see in the pre-install summary: but with major table header changes:

I.e. our pre and post install table ordering was inconsistent: moving towards pre-install column ordering but with improved headers:

Proposed post install thus:

2FA-Post-install-summary

Pre-install / confirmation table changes (post following comment corrections)

partially-corrected-pre-install-summary

@phillxnet
Copy link
Member

phillxnet commented Oct 4, 2024

@Hooverdan96 Mid development I now see more your examples exact reference. E.g. I just got the following in the pre-install summary screen:

Resource type Internal Reference External Reference / Configured value
Share 2FAuth-config:container-id:1 /2fauth

The new headings make it clearer I think. But yes the /2fauth should be in the Internal column. Working on this now to update/complete the last comment with examples.

phillxnet added a commit to phillxnet/rockstor-core that referenced this issue Oct 4, 2024
Clarify header and mouse-over text in both associated tables.
Normalise on column order (as per header) as per existing pre-install
summary table.

Includes:
- Bug fix re some internal/external header-to-contents columns
swapped.
- Incidental bugfix re empty internal (to Rock-on) device cell
entries.
phillxnet added a commit to phillxnet/rockstor-core that referenced this issue Oct 7, 2024
phillxnet added a commit to phillxnet/rockstor-core that referenced this issue Oct 7, 2024
Clarify header and mouse-over text in both associated tables.
Normalise on column order (as per header) as per existing pre-install
summary table.

Includes:
- Bug fix re some internal/external header-to-contents columns
swapped.
- Incidental bugfix re empty internal (to Rock-on) device cell
entries.
phillxnet added a commit that referenced this issue Oct 10, 2024
…l-summaries-are-inconsistent

Rockon pre & post-install summaries are inconsistent #2904
@phillxnet
Copy link
Member

Closing as:
Fixed by #2915

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

No branches or pull requests

2 participants