GitRoot

Craft your forge, Build your project, Grow your community freely
 1---
 2id: "8b29"
 3priority: 52
 4assignee: null
 5status: v0.5.0
 6---
 7
 8# Apex and working directory render in web
 9
10Today apex manage the rendering of working directory (of HEAD) in web.
11
12## Problem
13
14Apex is too big (3.4Mo) and make enormous work to render it. I have added an option to not use it but I think every body will want it.
15
16## Solution
17
18I think render working dir could be done outside apex in another plugin.
19
20## Challenges
21
22But how to render complete page outside of apex? This new plugin could render `working_partial.html` and apex integrate it in the global layout. But how apex could know about this partial in web?
23
24Another choice could be to permit to plugin to talk between them. Like that this new plugin could call to `apex::renderPage()` directly.
25
26Or we could introduce `*_partial.html` into gitroot itself.
27
28Or we could use something like htmx to manage that.
29
30## Other but related
31
32Add an option to link file extension to icon
33Make an option to personnalize icons set https://plainenglish.io/blog/10-icon-packs-for-vs-code
34
35---
36
37`apex::renderPage()` has been implemented