Git Product home page Git Product logo

astro-mastodon's People

Contributors

renovate[bot] avatar rosnovsky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

astro-mastodon's Issues

feat: improve card design, UI/UX

Card should:

  • look nice
  • be entirely isolated from host styles
  • consistently look nice between light and dark modes
  • Include dopamine-resistant indicators of reblogs, replies, and favorites
  • handle embedded cards:
    • Links (opengraph) - could the plugin also re-fetch link metadata to improve its quality? ๐Ÿค”
    • Images (up to 4 pictures)
    • Videos (gifs are embedded as mp4 files by Mastodon, so has to support up to 4 "videos")
    • YouTube videos (specifically)

[Bug]: Instance domain and postId are errors after changing

When I was trying to insert a toot and changed your demo(@[email protected]:109860863149734322)

such as @[email protected]:112054527697723909, It's unable to work properly then.

PS: When I changed username in your demo, they also can run.(@[email protected]:109860863149734322)

Here is the err code:

Cannot read properties of null (reading 'accountUrl')
at Heading (file:///Users/ax/ALL-IN/repositories/DG/node_modules/astro-mastodon/dist/components/Heading.js:6:51)
    at Ib (/Users/ax/ALL-IN/repositories/DG/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:67:254)
    at Jb (/Users/ax/ALL-IN/repositories/DG/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:76:98)
    at W (/Users/ax/ALL-IN/repositories/DG/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:73:345)
    at Ib (/Users/ax/ALL-IN/repositories/DG/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:68:145)

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): replace dependency standard-version with commit-and-tag-version ^9.5.0
  • chore(deps): update dependency lint-staged to v15.2.5
  • chore(deps): update dependency @headlessui/react to v2
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/action.yml
  • actions/checkout v4
  • actions/setup-node v4
npm
package.json
  • @tailwindcss/typography ^0.5.10
  • fast-glob ^3.3.2
  • isomorphic-dompurify ^2.4.0
  • react ^18.2.0
  • react-dom ^18.2.0
  • unist-util-visit ^5.0.0
  • @astrojs/check ^0.5.6
  • @astrojs/react ^3.0.10
  • @commitlint/cli ^19.0.3
  • @commitlint/config-conventional ^19.0.3
  • @headlessui/react ^1.7.18
  • @types/node ^20.11.24
  • @types/react ^18.2.61
  • @types/react-dom ^18.2.19
  • @types/sanitize-html ^2.11.0
  • astro ^4.4.8
  • commitizen ^4.3.0
  • concurrently ^8.2.2
  • cz-conventional-changelog ^3.3.0
  • husky ^9.0.11
  • lint-staged ^15.2.2
  • prettier 3.2.5
  • standard-version ^9.5.0
  • tailwindcss ^3.4.1
  • ts-node ^10.9.2
  • typescript ^5.3.3
  • astro ^4.0.0
  • node >=20.5.1

  • Check this box to trigger a request for Renovate to run again on this repository

feat: bulletproof error handling

Make sure that whatever error happens in the package, it's clearly communicated to the user of the package.

  • Issue with mention formatting (missing/incorrect domain, invalid postId)
  • Issue with fetching post data (no response from the instance, error response, unexpected response or unexpected response format, etc)
  • Issue with formatting the embedded card (in theory, if the process gets this far, cards should be generated successfully, but still need to explain what went wrong if there is an error)
  • Unable to handle attachment format (which format it is and why it can't be handled)
  • ???

[BUG] Background colors conflict with host styles

Styles of the embedded card must be 100% isolated so that they only apply to the card and do not interfere with styles of host pages. Right now, background (specifically) and some other styles appear to leak. Gotta fix this before releasing 0.3

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.