Skip to content

Commit 6369ebf

Browse files
committed
feat(documentation): automatically opening all available documentation links when in simple mode
1 parent 77479b8 commit 6369ebf

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

ARCHITECTURE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ the following system design requirements were derived:
8585
- In the parameter editor:
8686
- hiding the "Upload" column, "Current intermediate parameter file" combobox, "See only changed parameters" checkbox, and "Annotate docs into .param files" checkbox;
8787
- automatically selecting all parameters for upload
88+
- In the documentation frame:
89+
- automatically opening all available documentation links (wiki, external tools, blog posts) in the browser
90+
when the current intermediate parameter file changes, providing immediate access to relevant documentation for beginners
8891
- When set to "normal", all interface elements are displayed for advanced users
8992
- Users should be able to switch between complexity levels using a dropdown combobox in the component editor
9093

ardupilot_methodic_configurator/frontend_tkinter_parameter_editor_documentation_frame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def refresh_documentation_labels(self, current_file: str) -> None:
134134
mandatory_text, _mandatory_url = self.local_filesystem.get_documentation_text_and_url(current_file, "mandatory")
135135
self._refresh_mandatory_level(current_file, mandatory_text)
136136

137-
if self.auto_open_var.get():
137+
if self.auto_open_var.get() or ProgramSettings.get_setting("gui_complexity") == "simple":
138138
if wiki_url:
139139
webbrowser_open(url=wiki_url, new=0, autoraise=False)
140140
if external_tool_url:

0 commit comments

Comments
 (0)