File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed
Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ creating a new release entry be sure to copy & paste the span tag with the
1111updated. Only the first match gets replaced, so it's fine to leave the old
1212ones in. -->
1313-------------------------------------------------------------------------------
14- ## __ cylc-uiserver-1.3.0 (<span actions:bind =' release-date ' >Pending</span >)__
14+ ## __ cylc-uiserver-1.2.1 (<span actions:bind =' release-date ' >Pending</span >)__
1515
16- <!-- [Updated cylc-ui to x.y.z ](https://github.com/cylc/cylc-ui/blob/master/CHANGES.md) -->
16+ [ Updated cylc-ui to 1.5.0 ] ( https://github.com/cylc/cylc-ui/blob/master/CHANGES.md )
1717
1818### Enhancements
1919
Original file line number Diff line number Diff line change @@ -518,7 +518,7 @@ def initialize_templates(self):
518518 @classmethod
519519 def launch_instance (cls , argv = None , workflow_id = None , ** kwargs ):
520520 if workflow_id :
521- cls .default_url = f"/cylc/#/workflows /{ workflow_id } "
521+ cls .default_url = f"/cylc/#/workspace /{ workflow_id } "
522522 else :
523523 cls .default_url = "/cylc"
524524 if argv is None :
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ def update_html_file(gui_file, workflow_id):
145145 if not url_string :
146146 return
147147 url = url_string .group (1 )
148- split_url = url .split ('/workflows /' )
148+ split_url = url .split ('/workspace /' )
149149 if not workflow_id :
150150 # new url should point to dashboard
151151 if len (split_url ) == 1 :
@@ -165,7 +165,7 @@ def update_html_file(gui_file, workflow_id):
165165 replacement_url_string = url .replace (old_workflow , workflow_id )
166166 else :
167167 # current url points to dashboard, update to point to workflow
168- replacement_url_string = f"{ url } /workflows /{ workflow_id } "
168+ replacement_url_string = f"{ url } /workspace /{ workflow_id } "
169169 update_url_string (gui_file , url , replacement_url_string )
170170
171171
Original file line number Diff line number Diff line change 3232 pytest .param (
3333 'content="1;url=http://localhost:8892/cylc/?token=1234567890some_big_long_token1234567890#" /> ' ,
3434 'some/workflow' ,
35- 'content="1;url=http://localhost:8892/cylc/?token=1234567890some_big_long_token1234567890#/workflows /some/workflow" /> ' ,
35+ 'content="1;url=http://localhost:8892/cylc/?token=1234567890some_big_long_token1234567890#/workspace /some/workflow" /> ' ,
3636 id = 'existing_no_workflow_new_workflow'
3737 ),
3838 pytest .param (
39- 'content="1;url=http://localhost:8892/cylc/?token=1234567890some_big_long_token1234567890#/workflows /some/workflow" /> ' ,
39+ 'content="1;url=http://localhost:8892/cylc/?token=1234567890some_big_long_token1234567890#/workspace /some/workflow" /> ' ,
4040 'another/flow' ,
41- 'content="1;url=http://localhost:8892/cylc/?token=1234567890some_big_long_token1234567890#/workflows /another/flow" /> ' ,
41+ 'content="1;url=http://localhost:8892/cylc/?token=1234567890some_big_long_token1234567890#/workspace /another/flow" /> ' ,
4242 id = 'existing_workflow_new_workflow'
4343 ),
4444 pytest .param (
45- 'content="1;url=http://localhost:8892/cylc/?token=1234567890some_big_long_token1234567890#/workflows /some/workflow" /> ' ,
45+ 'content="1;url=http://localhost:8892/cylc/?token=1234567890some_big_long_token1234567890#/workspace /some/workflow" /> ' ,
4646 None ,
4747 'content="1;url=http://localhost:8892/cylc/?token=1234567890some_big_long_token1234567890#" /> ' ,
4848 id = 'existing_workflow_no_new_workflow'
You can’t perform that action at this time.
0 commit comments