()
| 61 | } |
| 62 | |
| 63 | func GetNewTabLayout() PortableLayout { |
| 64 | return PortableLayout{ |
| 65 | {IndexArr: []int{0}, BlockDef: &waveobj.BlockDef{ |
| 66 | Meta: waveobj.MetaMapType{ |
| 67 | waveobj.MetaKey_View: "term", |
| 68 | waveobj.MetaKey_Controller: "shell", |
| 69 | }, |
| 70 | }, Focused: true}, |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | func GetLayoutIdForTab(ctx context.Context, tabId string) (string, error) { |
| 75 | tabObj, err := wstore.DBGet[*waveobj.Tab](ctx, tabId) |