Skip to main content
Open

Lock & Hide Frames via REST API

  • December 14, 2020
  • 0 replies
  • 159 views

Fredrik Wendt
Forum|alt.badge.img+1

tl;dr: enable setting locked & hidden state on frames through the REST API

 

Background

We run workshops and trainings, usually with about 100 frames/exercises. For every class/workshop, these are copied from a template and there’s usually some manual tweaking to be done by the trainer. I set out to write a simple tool that would unlock & unhide all frames, let the trainer make some tweaks, and then run the tool again to lock (in place) and hide (to prevent peaking ahead) all frames.

While hide/unhide can be toggled quickly via the frames panel list view, locking and unlocking takes around 5 seconds per frame, as you have to both click the frame border, long press, and the lock. This adds up very quickly and makes it easier to go with Mural over Miro.

Acceptance Criteria

  • programmatically being able to unlock, lock, unhide and hide frames using the REST API