-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an option for jExam like styling in Selma #149
Conversation
This looks awesome, thanks a lot! A couple of questions on my side, as I am not at TUD anymore and out of the loop regarding Selma. I will have a closer look at the PR next week.
|
Grade distributionSelma provides a small button that opens a popup with a full table listing every grade with its count. The script extracts this link, downloads the html content and extracts the data from the table by querying the DOM. I'll leave comments to the relevant code sections below. The grade distributions seem to be grouped by birth year, though I am not 100% sure of this as I have very limited data, as of now I can say that two students who started the same degree in the same year and wrote the same exam at the same time seem to see the same grade distribution. But for example if student A writes an exam in his second semester together with student B who writes the exam in his 4th semester the grade distributions shown will be different. Even though they wrote the exact same exam on the same day. Enabling by defaultFor now I'd just enable the setting by default. Adding a button directly on the page is definitely a good idea so I'll try to implement this when I find the time for it :) Besides all this I have another question, right now this PR merges into |
This is also a problem for me. We need new supporters but no one wants to do it and also develop the necessary updates :/ Sadly, I can't check this PR. |
This is very unfortunate, I definitely want to look into removing some of the text debt of this repository. Mainly the code style, I already opened #135 but due to personal reasons I didn't have the time to properly finish it (and tbh I kinda forgot about it at some point). But I'd like to pick that up and also change the build process to something more modern than snowpack as I am starting to have issues with it recently (One example of that is in the Matrix channel). If it is needed I could definitely see myself being a supporter for the next two years while I still study at the TUD. I don't think I can allocate enough time to pick up some of the bigger projects like Telemetry/backend. But I also experimented with safari support recently and I definitely think it could be very easily implemented, potentially leveraging a GitHub CI runner for builds. I know this is all kind of off topic for this PR but if you'd like me to be a supported for this project I'd be happy to help out :) |
Off-TopicHi, some of the topics listed in the ToDos are definitely a bit over the top. I need to clean them up soon, or probably re-name that page "Project Ideas" on the website. Any contribution that you do is well received @A-K-O-R-A ! I think having someone as a CoreTeam member of the project who is still a member of TUD would be very beneficial. I could go ahead and add you as a CoreTeam member @A-K-O-R-A . @fugidev @C0ntroller Maybe one of you can comment on the snowpack problem posted in the matrix-channel? If you don't have access anymore, I copied the screenshot into an Issue. On-Topic
I like all of that. Some feedback:
Given that many students use TUfast, its always somewhat important to keep the many users in mind. @Noxdor in the original message of the PR the following question regarding the icons was mentioned. Can you comment on that?
|
@OliEfr Yes I can comment on that :) First of all, thank you so much @A-K-O-R-A for contributing! It's great to see this extension not being dead and that there are still new developers interested in contributing, I really appreciate it! The changes look amazing, so let's give that setting a fresh new icon 😉 We are using the Phosphor Icons Family for all non-TUD icons inside the not so new anymore settings page. Inside To find the right icon, I suggest you follow that link and just browse or search for the icon you want for that setting. Then you can just click on the icon, click on the Vue tab and copy the text that is marked green in the following screenshot: Paste it as the If you have any other questions, feel free to just ask! |
I am currently still at TUD, but I won't be from ~ December on, which I think means that all original maintainers are not TUD students anymore. It would be amazing if you could take over some control and maybe even find some interested other students that would pick up some tasks. It would be a shame if this extension disappears, since I think it is pretty widely used and very useful, at least it was to everyone I spoke with about. Regarding the build process, I 100% agree, it would be great to move to something like vite and maybe even switch out npm&node with bun, making some of the TypeScript development easier. I wanted to rework the popup a while ago, but like the others, I am not finding the time for it anymore :/ I think things like telemetry are very very secondary, Safari would be a great addition though. |
One more thing: I also can't test it since I am not getting my grades in selma but HISQIS (Hence I implemented that table back in the day). |
Default settingThe setting is now enabled by default and I added the corresponding lines to the I also added a small text and button to toggle the feature as seen in the pictures below |
In addition to the current feature set I would also merge a feature to display the users own grade as someone has opened a pull request for exactly this feature on my fork at A-K-O-R-A#2. Though I would prefer to do that in a separate pull request as there are some merge conflicts and small changes I want to do before integrating that feature. If you have any other suggestions let me know, I feel like this is now in a state that is ready to be merged :) |
Again, I can't test the changes live since I don't have this data inside selma, but you absolutely appear to know what you're doing and the screenshots looks great, so from my side, I agree this can be merged now 👍 I also think it's a good idea to handle the other topic in a separate PR. I find it interesting though that you got the pull request on your fork instead of us getting it here directly 😂 |
I see you addressed all the changes, thank you very much. It also seems good to me. I will merge this to main and find the time this week to publish the changes. You forgot to set the flag on install here, which I fixed. LMK if that is problematic, but I dont see how. |
Totally fine, I probably forgot it while renaming the property. Thank you for merging :) |
I uploaded the new version to the webstores. Publishing should take couple of days. |
I created the pr on the fork of the fork because I wanted, the feature wasnt merged back then. ill move the PR here |
Description
I propose the following changes in my PR:
The following before and after images visualize the change:
Type of change
Further info
Testing
We have 1500+ Users. Please test your changes thoroughly.
npm run test
locallyAdditional Information
The changes need to be turned on in the settings page, as of now the setting has the same Icon as the Opal settings. A different icon would probably be better but I am unfamiliar with the way the icons work so a bit of help would be appreciated :)
I also accidentally reformatted the
src/manifest.firefox.json
file, I hope this is not an issue