Giter VIP home page Giter VIP logo

Comments (6)

benjifs avatar benjifs commented on June 12, 2024 1

Awesome! Fixed the redirect and if the me value isn't entered, it'll default to the value entered for the micropub endpoint. I also made a quick change so it shows "[DEV]" before "Logged in as" as a visual indicator to remind someone whether they logged in the normal way or the manual way.

from sparkles.

benjifs avatar benjifs commented on June 12, 2024

I'm working on some new features that are almost ready to go but wanted to add some dev and docs related improvements as well. I'm testing out this screen that will only show when running in dev and wanted to get your thoughts:

Screenshot 2023-12-07 at 12 09 12 PM

That way you can open the details tag and enter your own micropub endpoint and access token. Is that sort of what you were thinking?

from sparkles.

paulrobertlloyd avatar paulrobertlloyd commented on June 12, 2024

Yes, I think that’d be perfect! Let me know when it’s ready to test.

from sparkles.

benjifs avatar benjifs commented on June 12, 2024

I just added the changes from my branch. Its fairly minor and I added some minor styling things as well but if you wanted to check it out, its here: https://github.com/benjifs/sparkles/tree/feat/dev-docs

Any recommendations you have, let me know.

from sparkles.

paulrobertlloyd avatar paulrobertlloyd commented on June 12, 2024

Works perfectly! Well, almost. Just a few tiny snags:

  • The settings screen is not available.

  • The ‘Logged in as’ text doesn’t show the URL posts will be published to:

    Screenshot 2023-12-12 at 11 58 10

However, I can publish posts, so the destination URL is available to Sparkles.

I’m guessing both of these depend on having the URL you signed in with? In the case of using an access token however, I believe it should include a me value that would be the destination URL it gives permission to publish to. Maybe in dev mode, that value could be used instead? Or maybe Sparkles should always use this token value?

from sparkles.

benjifs avatar benjifs commented on June 12, 2024

Took a minute but just merged these changes into the main branch (#21). I'll close this issue now but happy to add more things that will be helpful for testing in the future

from sparkles.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.