Skip to content

DOCS-3693: Update module and namespace renaming #4418

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

promptless[bot]
Copy link
Contributor

@promptless promptless bot commented Jun 27, 2025

Update documentation to reflect the new functionality that allows users to rename modules and organization namespaces through the Viam web interface. This replaces the previous requirement to contact support for module renaming and adds new namespace renaming capabilities.

Key Updates Needed:

  1. Module Renaming: Replace the current instruction to contact support with documentation of the new "Rename" option in the 3-dot menu on module pages
  2. Namespace Renaming: Add new section documenting the "Rename" button on organization settings page for changing organization namespaces
  3. Backwards Compatibility: Document that old names are reserved for backwards compatibility and cannot be reused
  4. Limitations: Document the 5-namespace limit per organization and when renaming is/isn't available

Scope Description from User:

  • Module renaming via 3-dot menu dropdown on module pages (app.viam.com/module/namespace/module-name)
  • Organization namespace renaming via organization settings page (app.viam.com/organization/org-id/settings)
  • Old names forever reserved for backwards compatibility
  • Organizations limited to 5 namespaces to prevent abuse
  • Existing configs continue working without migration needed
  • Machine builder uses most recent names for new machines

Trigger Events


If you want Promptless to make further changes on this PR, feel free to leave a comment tagging Promptless (It won't show up in the user drop down but Promptless will get it!)

Copy link

netlify bot commented Jun 27, 2025

Deploy Preview for viam-docs ready!

Name Link
🔨 Latest commit 2abe51e
🔍 Latest deploy log https://app.netlify.com/projects/viam-docs/deploys/685f07b8d5623a0008dbf44b
😎 Deploy Preview https://deploy-preview-4418--viam-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 57 (🟢 up 4 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: 70 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@CLAassistant
Copy link

CLAassistant commented Jun 27, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ JessamyT
❌ promptless[bot]
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link
Contributor Author

promptless bot commented Jun 27, 2025

Just a reminder: If you'd like me to act on any feedback you have via Github comments, just type @Promptless in your suggestion and I'll get right on it! (I won't show up in the user dropdown, but I'll process any request that has @Promptless in the comment body.)

@viambot
Copy link
Member

viambot commented Jun 27, 2025

👋 Thanks for contributing! A reviewer will look at it on the next working day!

Copy link
Member

@nathan-contino nathan-contino left a comment

Choose a reason for hiding this comment

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

This could use some structural improvements and fact-checking.

@@ -42,6 +42,13 @@ date: "2024-09-18"
# updated: "" # When the content was last entirely checked
---

{{% changelog color="added" title="Module and namespace renaming" date="2025-06-09" %}}

You can now rename modules and organization namespaces through the web interface.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
You can now rename modules and organization namespaces through the web interface.
You can now rename modules and organization namespaces through the web UI.

optional: should we say "web UI" here for consistency/findability?

Comment on lines +428 to +433
Notes:

- The old module name is permanently reserved for backwards compatibility and cannot be reused.
- Existing machine configurations will continue to work without any changes required.
- When adding the module to new machines, the machine builder will use the new module name.
- You can only rename modules that your organization owns.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Notes:
- The old module name is permanently reserved for backwards compatibility and cannot be reused.
- Existing machine configurations will continue to work without any changes required.
- When adding the module to new machines, the machine builder will use the new module name.
- You can only rename modules that your organization owns.
When you rename a module, the old module name cannot be reused.
References to the old module name will continue to work.

optional: I don't love the nonstandard 'notes:' introduction here. Besides, at least two of these bullet points are obvious, redundant with the first sentence, or not necessary to point out here. Suggesting a couple of sentences to cover the basics instead.

@@ -416,7 +416,21 @@ To transfer ownership of a module from one organization to another:

## Rename a module

If you need to change the name of a module, please reach out to the Viam team at [[email protected]](mailto:[email protected]).
You can rename a module that you own through the Viam web interface.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
You can rename a module that you own through the Viam web interface.
You can rename a module that your organization owns through the Viam web interface.

suggestion: be explicit, since a user never owns a module, an organization does; avoid contradicting the bullet point a few lines down


## Update a namespace for your organization

If your organization already has a namespace and you need to change it, you can rename it through the organization settings page.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
If your organization already has a namespace and you need to change it, you can rename it through the organization settings page.
You can change your organization's namespace on the organization settings page.

optional: avoid unnecessary pronouns, avoid unnecessary 'if' conditional


To rename your organization's namespace:

1. Navigate to your organization settings at `app.viam.com/organization/<org-id>/settings`.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
1. Navigate to your organization settings at `app.viam.com/organization/<org-id>/settings`.
1. Navigate to your organization settings at `app.viam.com/organization/<org-id>/settings`.

suggestion: I would prefer a clickable link, maybe we can start at the organization page and guide users to the settings page for a specific organization from there? That way we could create a clickable link to https://app.viam.com/organization/, assuming that page exists

Comment on lines +117 to +123
Notes:

- The old namespace is permanently reserved for backwards compatibility and cannot be reused.
- Existing machine configurations will continue to work without any changes required.
- You need to change model names for public modules after a namespace change.
- Organizations are limited to 5 namespaces total to prevent abuse.
- When adding modules to new machines, the machine builder will use the new namespace.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Notes:
- The old namespace is permanently reserved for backwards compatibility and cannot be reused.
- Existing machine configurations will continue to work without any changes required.
- You need to change model names for public modules after a namespace change.
- Organizations are limited to 5 namespaces total to prevent abuse.
- When adding modules to new machines, the machine builder will use the new namespace.
When you rename a namespace, the old namespace name cannot be reused.
References to the old namespace name will continue to work.
You can rename a namespace no more than 5 times.

optional: similar reasoning as above, though a bulleted list would work fine here as well (not doing that for consistency with the above section). It might be good to fact check the '5 namespaces' limit -- does that mean you can rename 5 times, or that you can rename only 4 times, or that when you rename the 5th time, the oldest namespace alias will stop working? That's a really important detail!

One caveat: I don't know what this line means, but it seems awfully important:

You need to change model names for public modules after a namespace change.

Seems to directly contradict the 'existing machine configureations will continue to work without any changes needed' line. But big if true. So someone really ought to investigate.

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