caugner
Repos
98
Followers
27
Following
1

Events

pull request opened
fix(plus): add breadcrumbs for Collections/Notifications/Settings

Summary

Adds breadcrumbs for Collections/Notifications/Settings in MDN Plus.

Problem

MDN Plus did not have breadcrumbs (except for the "Documentation" section).

Solution

Make it easy to add breadcrumbs to non-Doc pages.


Screenshots

Before

After


How did you test this change?

Checked out these pages locally:

  • http://localhost:3000/en-US/plus/collections
  • http://localhost:3000/en-US/plus/notifications
  • http://localhost:3000/en-US/plus/settings
Created at 3 hours ago
create branch
caugner create branch breadcrumbs-for-plus
Created at 3 hours ago
pull request closed
chore(macros): delete {{previousPage}} macro

Summary

The {{previousPage}} macro has been deprecated. And now, this macro has been removed from mdn/translated-content. I've run the command below to verify it:

rg -il "\{\{\s*previousPage" | wc -l # got 0

image

There is no {{previousPage}} macro left in content and translated-content. It's time to remove it.

How did you test this change?

Verified by using rg.

Created at 15 hours ago
push

chore(macros): delete {{previousPage}} macro (#7238)

Created at 15 hours ago
push

chore(markdown): add Japanese localization (#7188)

Created at 1 day ago
closed issue
Add magic words of notes, warnings and callouts for Japanese locale

Summary

Add magic words of notes, warnings and callouts for Japanese locale. We have been used English words until now, but we want to use them in our words.

URL

https://developer.mozilla.org/ja/docs/MDN/Writing_guidelines/Howto/Markdown_in_MDN and a lot of other pages

Reproduction steps

  1. Use **Note:**, **Warning:** or **Callout:** in markdown codes.
  2. Show the page.

Expected behavior

メモ: for notes. 警告: for warnings.

Actual behavior

Note: for notes. Warning: for warnings.

Device

Desktop

Browser

Firefox

Browser version

Stable

Operating system

Windows

Screenshot

No response

Anything else?

No response

Validations

Created at 1 day ago
pull request closed
add Japanese localization file

Summary

Add Japanese localization file for note, warning and callout boxes. メモ: for note boxes, 警告: for warning boxes and 注目: for callout boxes.

Fix #7187

Problem

We have to use English words for notes, warnings and callouts.

Solution

Add a localized file for Japanese.


Screenshots

Before

After


How did you test this change?

Created at 1 day ago
issue comment
Replace Prismjs and manual code editing system with CodeMirror

I think the reason for using Prismjs here was to make the interactive examples look like the code samples (which will continue to use Prism): https://developer.mozilla.org/en-US/docs/Web/CSS/animation#applying_multiple_animations

Not really sure how to solve this. 🤔

Created at 1 week ago
issue comment
Replace Prismjs and manual code editing system with CodeMirror

@queengooborg As this PR changes how the interactive examples look, could you please add Before/After screenshots for each of the 4 editor types? 🙏

Created at 1 week ago
issue comment
Use Webpack to bundle CSS

That's so weird that it merged despite the checks not passing. 🤷

Created at 1 week ago
create branch
caugner create branch import-css
Created at 1 week ago
push

build: minimize css with css-minimizer-webpack-plugin

Created at 1 week ago
push

fix(pr-companion): fold sections with count (#7110)

5 or less preview URLs are not folded.

Created at 1 week ago
pull request closed
fix(pr-companion): fold sections with count

Summary

We are trying to reduce the size of the comment created by our PR companion as much as possible. The redundant stuff has been removed.

This PR aims to reduce the comment height further by folding the sections using <details> tag.

Problem

Not everyone is interested in all the sections. Showing all the section in full increases the height of the comment tremendously.

Solution

Put the sections in <details> tags so that contributors will expand only the required sections. Also show section summary in the title to give overall idea without opening the section.

Screenshots

See the first comment below this post for the sample output.


Note: The PR aims to get the feel of folded sections. This is not the final change. Final changes will be done after the community discussion concludes.

Created at 1 week ago
push

chore(macros/WASMSidebar): remove use of jsxref (#7132)

Created at 1 week ago
pull request closed
chore(macros/WASMSidebar): remove use of jsxref

Summary

Accompanying change of https://github.com/mdn/content/pull/20603

Problem

Solution


Screenshots

Before

After


How did you test this change?

Created at 1 week ago
issue comment
chore(macros/LearnSidebar): add Japanese translation(Angular Building)

Okay, let's wait for https://github.com/mdn/yari/pull/7176 to be merged first.

Created at 1 week ago
closed issue
Issue with "::first-letter (:first-letter)": (Google search result header does not show properly for pseudo-classes)

MDN URL: https://developer.mozilla.org/en-US/docs/Web/CSS/::first-letter

What information was incorrect, unhelpful, or incomplete?

When we search for any pseudo-class on Google, It ignores some of the first keywords while showing MDN in the results list.

Specific section or headline?

image For instance, the result should show something like ::before (:before) - CSS: Cascading Style Sheets - MDN Web Docs. But instead, it ignores "::before (:" part in the results.

What did you expect to see?

Some result header like ::before (:before) - CSS: Cascading Style Sheets - MDN Web Docs should show in the results. It seems to be some issue in SEO.

Did you test this? If so, how?

Checked on different search Engines by searching the same text "css before". Search engines tested on:

  1. Google: failed
  2. Duckduckgo: passed
  3. Dogpile: passed
  4. Yandex: passed (shows before instead of ::before)
  • Folder: en-us/web/css/_doublecolon_first-letter
  • MDN URL: https://developer.mozilla.org/en-US/docs/Web/CSS/::first-letter
  • GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/css/_doublecolon_first-letter/index.md
  • Last commit: https://github.com/mdn/content/commit/26f50bdaeb1228f458d21dbdf7dc110387b20daa
  • Document last modified: 2021-08-12T23:59:09.000Z
Created at 1 week ago
issue comment
Issue with "::first-letter (:first-letter)": (Google search result header does not show properly for pseudo-classes)

It may still take some days until the search index is updated, but it should indeed have been fixed by #7166.

Created at 1 week ago
delete branch
caugner delete branch escape-colon-in-title
Created at 1 week ago
delete branch
caugner delete branch remove-klaw-sync
Created at 1 week ago