lemmynet / lemmy-ui Goto Github PK
View Code? Open in Web Editor NEWThe official web app for lemmy.
Home Page: https://join-lemmy.org/
License: GNU Affero General Public License v3.0
The official web app for lemmy.
Home Page: https://join-lemmy.org/
License: GNU Affero General Public License v3.0
Hello, I have been recently trying to put Lemmy in an iframe like this:
<iframe src="https://dev.lemmy.ml" title="Lemmy"></iframe>
However, it does not work. Does Lemmy not have iframe support or am I doing it wrong? If it does not have iframe support, is it planned in the future?
Apologies in advance for any misunderstandings
Partially a URI encode / decode issue.
Right now all the buttons / forms are available, they need to be disabled until javascript is enabled in some way, maybe with a css class.
See if there's a way to add custom emojis to twemoji.
It looks better / more stark w/ the regular background.
I noticed this might be a problem when I was using Lemmy on my phone in gray-scale, and I wasn't able to whether or not I voted on a post. I suppose this wouldn't be a problem if I switched from the default "Darkly" theme, but I think websites should be accessible by default.
When trying to use Lemmy, I have experienced loading errors for most events including page loads, comment replies, profile view, etc. The loading wheel starts spinning and never comes back and the page does not load. This happens consistently on mobile and inconsistently on desktop.
One workaround has been to reload the page, which seems to reset the connection, but this is not an option on comment replies, logins, posts.
Mobile is iOS with same issues in Safari, DDG browser, Firefox.
Desktop is Firefox.
Desktop connection is possibly not super low-latency.
PING dev.lemmy.ml (5.196.14.162) 56(84) bytes of data.
0/ 19 ( 0%) lost; 369/ 371/ 379ms; last: 369ms
0/ 19 ( 0%) lost; 369/ 371/ 379/ 3ms (last 19)
I have attached
lemmy-firefox-console.log
output from Firefox console if you would like it. If nobody else is experiencing this, than it might very well be my setup and I have no desire for unnecessary time to be spent on it.
This would make Lemmy compatible with LibreJS.
Originally mentioned in this post. The methods how to do that are outlined in the GNU LibreJS documentation.
@dessalines comment on that post:
That seems pretty easy to add, this site uses AGPLv3 so we could add a magnet link in there. Sounds like a good first PR.
This happens when you are viewing a post and get a new notification for a comment in the same post. Clicking the notification causes a page reload, when it could just scroll to the new comment without reloading or anything.
Right now if you delete a comment it is just disappear form the comment section. I think it would be better to show a modal to the user to confirm the delete action.
Requires some complicated interpolations for all the modlog actions.
Basically when you use the forward/back functions in your browser history, it scrolls you back to the page. This is pretty annoying if you want to continue going through the list of posts for example. It should remember the position instead (horizontal and vertical).
I noticed that any UI changes after Lemmy updates only become visible once you manually reload the page (F5). It would be nice if we could somehow trigger a page reload so this is done automatically.
This could be improved a lot.
https://infosec.mozilla.org/guidelines/web_security#content-security-policy
This was previously discussed in LemmyNet/lemmy#208, but now might be a good time to actually set it up.
Edit: more requests: https://git.radicallyopensecurity.com/nlnet/off-ngid-lemmy/-/issues/22
Do some of the front-end fixes webhint suggests:
https://webhint.io/scanner/58d9f5cc-2909-4c6d-9079-a88c9db394ed
Here is list of small things that could improve usability of the UI. I can fix them later if there is any interest. Feel free to suggest more
General
Login/register page
type="button
, this could cause issues with triggering submit even of the form. However currently the button is disabled, so this does not manifestLanding page
arrow-up
and arrow-down
Comments page
button
element, not span
button
, not span
Search page /search
Communities page
button
, not span
button
s, not just th
microformats are extensions to HTML for marking up people, organizations, events, locations, blog posts, products, reviews, resumes, recipes etc. Sites use microformats to publish a standard API that is consumed and used by search engines, aggregators, and other tools.
Microformats are simple HTML markup that describe the content. Marking up users, posts, and comments would allow interoperability with indieweb site/tools.
Within the fediverse, Plume, Prismo, and Mastodon all have support for microformats.
It's pretty.
Right now, unlogged in users will by default see /c/all. But after federation, /c/all could potentially be filled with a lot of garbage. It'd be better to have local posts be the default view.
A newer version of yarn appears to have broke the prod front end build node fuse prod
. Some tasks:
fuse.js
file to a typescript file, fuse.ts
Needs two components:
remote_community_follow.tsx
. Example Needs a form with your user actor_id / @user@instance
, which redirects to:https://mastodon.social/authorize_interaction?uri=https://instance/users/aaron
.{
"rel": "http://ostatus.org/schema/1.0/subscribe",
"template": "https://mastodon.social/authorize_interaction?uri={uri}"
}
This can be very noticable when a theme different from the default lightly
is configured. Usually the page reload is almost instant, but sometimes it takes a second or more for the correct theme to be applied, so that buttons flash up in green. Sometimes even the background stays white for a noticable time before darkly is applied.
This problem only started to happen after the isomorphic ui rewrite, not before.
Happens with Firefox and Firefox Android.
use validURL
If your theme is set as darkly right now, it treats it as "browser default", and won't load a theme after the initial page load.
The issue seems to stem from the selectr-selected
class (link) having a background-color
of --secondary
and a color
of --white
.
This is not an issue with any other theme as they all have non-white secondary colors.
It's an issue specific to how we use the materia bootstrap theme css from LemmyNet/lemmy#478
This isn't an issue on the "create community" page, or any other dropdown I've seen. This is because the dropdown for create a post isn't a select
(which get's bootstrap theme) but rather a custom selector with search capabilities.
Not really sure if it's worth the effort to try to fix this when there are so many other great themes but wanted to flag it.
I can make a separate ticket for this but there's also this issue with materia about not being able to see the button text at the top of the profile page until you hover:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.