Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[epic] Flowershow MVP v0.1 #1

Closed
30 of 35 tasks
rufuspollock opened this issue Jun 23, 2022 · 1 comment
Closed
30 of 35 tasks

[epic] Flowershow MVP v0.1 #1

rufuspollock opened this issue Jun 23, 2022 · 1 comment
Assignees
Labels
Epic Epic

Comments

@rufuspollock
Copy link
Contributor

rufuspollock commented Jun 23, 2022

Working app that is useable enough to power the website of flowershow itself so that we can validate the approach

  • Key aspect is the template
  • Command line is nice but secondary

Acceptance

  • flowershow repo ✅2022-07-01 or earlier
  • default template working ✅2022-07-12 it is working
  • flowershow.app running off that default template ✅2022-07-20 all done. See https://flowershow.app/

Dogfooding the app

Features

  • tailwind support
  • Markdown support
  • MDX support
  • Basic site config
  • Basic theme e.g. navbar and footer 🚧2022-07-12 what do we mean by this? configuration thereof?
  • Analytics - google - this could be first test for componentization (or maybe just live with default for now)
  • Docs and Raw layout 🚧2022-07-12 DONE but needs proper documentation

Bonus:

  • SEO support
  • theme customization

Pre-questions

  • Do we try and do in component/compositional way or just do all in one for now? ✅2022-06-22 go all in one route though compositional where we can
    • Work out how we do adding stuff if we go that route.
  • Do we work in portal.js repo or in new flowershow? ✅2022-06-22 go for flowershow as one repo for one thing and we can have site alongside

Tasks

Dogfood a bit - boot the flowershow website using the template

try to do it all in markdown (or close to!)

  • symlink templates/default into .flowershow/templates directory
    • What about siteConfig type stuff though
  • Then set content directory as path ../../ ✅2022-06-24 actually because of symlink setup in our case did ../../site/ -- that's ok and in all other cases would be ../../
  • Being able to set the home page
    • Remove default pages/index.js as will conflict with real index page
    • Want index.md picked up as "index" file for a folder
    • (?) Want README.md picked up as index file for a folder ❌2022-06-24 WONTFIX for now as not that important. More for compatibility with eg. github viewer etc

Landing page (nice)

Asides / Bonus

  • What about assets folder? => have to symlink into flowershow
  • customizable layouts per markdown page?? (future?) Configurable layouts for pages #8
  • How do we do config overriding?? Several options. Most basic and standard is environmental variables. Config can be overridden by user #7 ❌2022-07-12 WONTFIX for now as painful. Rather use convention over configuration. Everything is in content folder.
  • How do we expose config variables to markdow pages 🚧2022-07-12 this is the same as MDX support including components and data #20 issue about data passing. For now we defer this
    • for the mdx system we are using how do we insert variables into the scope of the page ... ✅2022-07-12 Same as previous point

Notes

Rufus

  • Treat "site" like a project a user would create => content at the root??
    • could make things a bit easier for ourselves by still having content in a subdirectory??
  • There is some advantage to "one level of indirection" even if that indirection is inside flowershow setup
    • Why? Because nextjs is kind of picky about where stuff goes as is contentlayer e.g. js files have to be in pages directory, contentlayer doesn't allow us to do (what??)

Layout of site (template for project sites)

Inside site/

# this will even be symlinked in our case
# in normal cases would be installed (via git even so easy to upgrade)
.flowershow/templates/default  # not touched by user (so we can keep changing)
.flowershow/content

index.md
my-other-file.md
my-directory/index.md => my-directory (not my-directory/index)
my-directory/abc.md 

# if i'm using obsidian ... this needs to end up in public
assets/
@rufuspollock rufuspollock self-assigned this Jun 23, 2022
@rufuspollock rufuspollock moved this to 🏗 In progress in Flowershow Backlog Jun 24, 2022
rufuspollock added a commit that referenced this issue Jun 24, 2022
…her than pages/index.js.

* Convert from catch-all route to optional catch-all route.
rufuspollock added a commit that referenced this issue Jun 24, 2022
… app.

* Just have a very basic markdown home page
* Basic README stubbed for site

Symlinking the default app in for the moment for speed of iteration plus able to trial the project layout we anticipate for users.
@rufuspollock rufuspollock pinned this issue Jun 24, 2022
@olayway olayway added App Epic Epic and removed App labels Jul 5, 2022
@rufuspollock
Copy link
Contributor Author

FIXED. Everything is done! Couple of non-essential things left e.g. SEO which moved to own issue plus MDX item which is in progress.

Repository owner moved this from 🏗 In progress to ✅ Done in Flowershow Backlog Jul 20, 2022
@rufuspollock rufuspollock unpinned this issue Jul 21, 2022
rufuspollock added a commit to rufuspollock/flowershow that referenced this issue Oct 27, 2023
rufuspollock added a commit to rufuspollock/flowershow that referenced this issue Oct 27, 2023
…dex.md rather than pages/index.js.

* Convert from catch-all route to optional catch-all route.
rufuspollock added a commit to rufuspollock/flowershow that referenced this issue Oct 27, 2023
…g flowershow default app.

* Just have a very basic markdown home page
* Basic README stubbed for site

Symlinking the default app in for the moment for speed of iteration plus able to trial the project layout we anticipate for users.
olayway pushed a commit that referenced this issue Oct 31, 2023
…her than pages/index.js.

* Convert from catch-all route to optional catch-all route.
olayway pushed a commit that referenced this issue Oct 31, 2023
… app.

* Just have a very basic markdown home page
* Basic README stubbed for site

Symlinking the default app in for the moment for speed of iteration plus able to trial the project layout we anticipate for users.
olayway pushed a commit that referenced this issue Oct 31, 2023
…her than pages/index.js.

* Convert from catch-all route to optional catch-all route.
olayway pushed a commit that referenced this issue Oct 31, 2023
… app.

* Just have a very basic markdown home page
* Basic README stubbed for site

Symlinking the default app in for the moment for speed of iteration plus able to trial the project layout we anticipate for users.
olayway pushed a commit that referenced this issue Oct 31, 2023
…her than pages/index.js.

* Convert from catch-all route to optional catch-all route.
olayway pushed a commit that referenced this issue Oct 31, 2023
… app.

* Just have a very basic markdown home page
* Basic README stubbed for site

Symlinking the default app in for the moment for speed of iteration plus able to trial the project layout we anticipate for users.
olayway pushed a commit that referenced this issue Oct 31, 2023
…her than pages/index.js.

* Convert from catch-all route to optional catch-all route.
olayway pushed a commit that referenced this issue Oct 31, 2023
… app.

* Just have a very basic markdown home page
* Basic README stubbed for site

Symlinking the default app in for the moment for speed of iteration plus able to trial the project layout we anticipate for users.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Epic Epic
Projects
Status: ✅ Done
Development

No branches or pull requests

2 participants