Coder Social home page Coder Social logo

blog-next's Introduction

blog-next's People

Contributors

mildronize avatar

Watchers

 avatar  avatar

blog-next's Issues

Show deployment status on homepage

Using this REST API https://docs.github.com/en/rest/actions/workflow-runs?apiVersion=2022-11-28#list-workflow-runs-for-a-repository will get all possible workflows run:

e.g.

this show when the workflow is success

{
    "total_count": 209,
    "workflow_runs": [
        {
            "id": 5903770951,
            "name": "Azure Static Web Apps CI/CD",
            "node_id": "WFR_kwLOHNr1cc8AAAABX-RlRw",
            "head_branch": "main",
            "head_sha": "ee3859864e2c33a66761ada4d7ba085c114b144f",
            "path": ".github/workflows/azure-static-web-apps.yml",
            "display_title": "revert",
            "run_number": 16,
            "event": "push",
            "status": "completed",
            "conclusion": "success",

when workflow is running

workflow_runs[0].status == "in_progress" or workflow_runs[0].status == "queued" 
workflow_runs[0].conclusion == null

When the pipeline run success, please has a confirmation dialog to refresh page.

Draft Mode

Add Frontmatter key for draft article

draft: true

Website Development Roadmap

Todo V6.0.0-alpha

  • Resolve image locally not from static path
    • When dev mode, serve static _posts
    • Convert markdown replace to currect path in public folder
  • Auto Generate UUID (in dev mode)
  • #9
  • Auto-refresh when markdown content changed ref
  • Theme Switch Ref
  • #2
  • Migrate Theme from my site v5 Ref
  • Using TypeScript Global Import ref
  • Deploy to Azure Static Site
  • #13
  • #15
  • #14
  • Migrate to TypeScript

Next Release

  • Runtime Type Checking (Zod)
  • #10
  • #12
  • allow to place plain page on _contents/pages
  • Using slug in frontmatter to override the auto gen slug by title or filename
  • Fallback read date in frontmatter if cannot extract date from filename
  • Search Feature
  • Page View show in the post, migrate from my site v5 Ref
    • Move GA to Google Tag Manager (due to GA will be unsupported in 2023)
  • Add Toc (in the beginning of post)
  • Make Toc Stick on right
  • Make Toc available on Mobile
  • Go to Top bottom
  • Comment in the bottom of the post

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.