getkirby.com icon indicating copy to clipboard operation
getkirby.com copied to clipboard

Separate guides: editor, developer, plugin

Open texnixe opened this issue 4 years ago • 16 comments

  • Developer Guide
  • Editor Guide
  • Plugin Guide

texnixe avatar Nov 13 '21 20:11 texnixe

Structure ideas for the editor guide:

  • Installation
  • Login
    • Login via email
    • Password reset
    • Blocked logins
  • Site settings
    • Updating site info
    • Translating site info
    • Site files
  • Pages
    • Pages sections
    • Creating pages
    • Publishing pages
    • Updating pages
    • Sorting pages
    • Deleting pages
    • Page files
    • Translating pages
  • Files
    • Files sections
    • Uploading files
    • Replacing files
    • Updating file meta data
    • Translating file meta data
  • User management
    • Create a new user
    • Change the password
    • Change the email address
    • Change the language
    • Change the role
    • Updating user info
    • Translating user info
    • User files
    • Deleting users
  • Your account
    • Add your name
    • Change the password
    • Change the email address
    • Change the language
    • Change the role
    • Updating account info
    • Translating account info
    • Account files
    • Delete your account
  • The system view
    • License registration
    • System information
    • Plugin list
  • Language management
    • Creating languages
    • Primary vs secondary language
    • Updating languages
    • Deleting languages

bastianallgeier avatar Nov 13 '21 20:11 bastianallgeier

Plugin guide could be in the direction of:

  • Getting started

  • Setup

    • The basics
    • Autoloading
    • Composer dependencies
    • For Panel plugins
  • Core

    • Class methods & models
    • Providing parts: Templates, Snippets, Blueprints, Routes..
    • Hooks
    • Core components
    • API
  • Panel

    • Fields and Sections
    • Areas, Dialogs, Dropdown, Search
    • UI kit & CSS properties + selectors
    • Panel internals
  • Enhance your plugin

    • Plugin options
    • Translating
    • Best practices

    Additional ideas

  • "all the options" table or a document for 1.) PHP plugin declaration and 2.) JS plugin declarations. Something short like fields have, or longer like blueprints have

distantnative avatar Nov 14 '21 08:11 distantnative

Also related (developer docs): https://kirby.nolt.io/374

lukasbestle avatar Nov 21 '21 13:11 lukasbestle

@lukasbestle that seems more like a feature request (custom $kirby methods) than docs-related

distantnative avatar Nov 25 '21 16:11 distantnative

How would we want to do the menu structure? Separate menu entries or rather listing them all on the Guides menu entry?

The latter could look like this:

getkirby test_docs_guide

distantnative avatar Nov 25 '21 16:11 distantnative

@lukasbestle that seems more like a feature request (custom $kirby methods) than docs-related

The custom Kirby methods yes, but the custom components should already work.

lukasbestle avatar Nov 25 '21 17:11 lukasbestle

How would we want to do the menu structure? Separate menu entries or rather listing them all on the Guides menu entry?

I would go for separate menu items. Helps to clean up the guide overview for beginners

bastianallgeier avatar Nov 25 '21 17:11 bastianallgeier

Yes, I prefer menu items as well.

texnixe avatar Nov 25 '21 19:11 texnixe

Not fully convinced tbh

Screen Shot 2021-11-25 at 23 07 59

neither this

Screen Shot 2021-11-25 at 23 09 07

distantnative avatar Nov 25 '21 22:11 distantnative

Maybe Screen Shot 2021-11-25 at 23 14 32

distantnative avatar Nov 25 '21 22:11 distantnative

I really like the version with the horizontal lines. We could even think about a bit more extended dropdown at some point.

bastianallgeier avatar Nov 26 '21 10:11 bastianallgeier

No idea if it's really that good for our case, but something like Stripe is doing … Screenshot 2021-11-26 at 11 09 23

bastianallgeier avatar Nov 26 '21 10:11 bastianallgeier

Uh I like that

distantnative avatar Nov 26 '21 10:11 distantnative

Extending the dropdowns would allow us to list probably quite a few more items (e.g. Security) in there. Or also merge some top-level items Screen Shot 2021-11-26 at 18 42 44

distantnative avatar Nov 26 '21 17:11 distantnative

I can't access the dropdowns for Stripe btw... when I try to move my cursor on the dropdown from the top-level item, the dropdown closes (Safari) 😂

distantnative avatar Nov 26 '21 17:11 distantnative

My 2ct: I think as long as we don't have more than those seven items max in the dropdown, a single column like now is actually easier to scan than multiple columns.

texnixe avatar Nov 27 '21 14:11 texnixe