Git Product home page Git Product logo

sprints's Introduction

Moved to mdn/content!

Note

This repository is archived as of January 2024. Many thanks to everyone who contributed! πŸŽ‰

To raise an MDN content issue, see the mdn/content repository.

sprints's People

Contributors

bsmth avatar chinikes avatar chrisdavidmills avatar elchi3 avatar jwhitlock avatar rumyra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sprints's Issues

Write Jinja helper for SVG titles

Some background on the work involved provided by @jwhitlock

How

Keep SVG as SVG, and add the titles at render time. You'd define a helper method like:

def include_svg(path, title=None):
    full_path = get_full_path(path)
    svg_raw = open(full_path).read()
    if title:
        parsed = parse_xml(svg_raw)
        title_elem = parsed.find('svg title')
        if not title_elem:
            svg_elem = parsed.find('svg')
            title_elem = svg_elem.add_child('title')
        title_elem.content = title
        svg_raw = parsed.serialize()
    return jinja2.Markup(svg_raw)

and then use it like:

<li class="footer-social">
    <a href="https://github.com/mdn/">
        {{ include_svg('includes/icons/social/github.svg', _('GitHub')) }}
    </a>
</li>

Examples of jinja2 helper methods:

https://github.com/mozilla/kuma/blob/master/kuma/wiki/templatetags/jinja_helpers.py

Advantages:

Python has a lot more power than Jinja2 macros, so you use SVGO to optimize the SVG as SVG, then modify it how you'd like. The SVG would be viewable as such, and could be used in other ways.

Disadvantages:

I'm not exactly sure how to implement those placeholder functions:

get_full_path - Django or Jinja2, probably undocumented code
parse_xml - libxml2 or pyquery

I'm also not sure exactly how to find and customize the XML. I'm pretty sure all this is possible, it would just take some digging to figure out how, plus tests.

Acceptance Criteria

  • SVG titles are translated per locale
  • Standard "Done" criteria for development tasks

Firefox 61 WebExt DDNs

As a WebExtension developer I want to know about the latest WebExtension features in Firefox 61, so that I can test and make use of new technologies.

Firefox 61 DevTools DDNs

As a web developer I want to know about the latest devtools features in Firefox 61, so that I can test and make use of new technologies.

Firefox 61 JS DDNs

As a Web developer I want to know about the latest JavaScript features in Firefox 61, so that I can test and make use of new technologies.

Document RTCIceTransport

Acceptance criteria

  • Write and/or complete the page RTCIceTransport
  • Ensure each member of RTCIceTransport is documented completely
  • Provide at least one example showing how RTCIceTransport is useful
  • Document RTCIceRole
  • Document RTCIceTransportState
  • Document RTCIceGathererState
  • Document RTCIceCandidatePair
  • Document RTCIceParameters
  • Document statechange event
  • Document gatheringstatechange event
  • Document selectedcandidatepairchange event
  • Update BCD for RTCIceTransport
  • Make sure the new types and events are in GroupData.json
  • All of the types need to be added to BCD
  • Add information related to these documents to overview materials as needed; explain ICE transports and their role in ICE transactions, etc.
  • Ensure that https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API/Connectivity#Choosing_a_candidate_pair is complete
  • Ensure all internal links are in place as needed, both in the new pages and in existing content that should link into the new pages

Update to Django 1.9

Create a branch of Kuma that runs under Django 1.9.

References:

Acceptance Criteria:

  • A branch is available that runs on Django 1.9, ready to be deployed, with passing unit tests (61 currently failing) and no deprecation warnings earlier than Django 2.0
  • (Stretch) Deploy to stage for interactive testing

Tasks:

  • Update dennis / click (@jwhitlock, r=@escattone) (PR 4775)
  • Update django-babel (@escattone)
  • Update redirect tests to test only path (backport to Django 1.8) (@jwhitlock)
  • Remove protocol, hostname from redirects (just path)
  • Fix instance creation order, other issues in spam and account tests
  • Update DocumentJSONFeedGenerator to add content_type
  • Rewrite error handlers to add exception parameter, return exceptions
  • xfail tests that fail in 1.9, 1.10, but pass in 1.11

KR: Put a CDN in front of developer.mozilla.org

The goals are that a CDN in front of developer.mozilla.org will:

  • improve response times since endpoints will mostly be served from a cached response and because the cached response will come from a server that is closer to the user
  • greatly reduce the load on MDN, which will in turn reduce downtime events due to scrapers and other issues
  • automatically provide a better level of protection against DDoS attacks (e.g., via AWS Shield)

See: This epic in Taiga

Kickoff Performance Audit

Acceptance Criteria:

  • Agree on initial schedule
  • Have initial meeting(s) with auditors
  • Provide requested access and information

Document WebRTC track events (of type RTCTrackEvent)

Acceptance criteria

  • Document RTCTrackEvent
  • Document each of RTCTrackEvent's members
  • Document RTCTrackEventInit
  • Document the track event following standard event layout
  • Include information about why it fires (new track added to an RTCRtpReceiver)
  • Include relevant links to other articles including WebRTC architecture, addTrack(), and so forth

WebRTC: Finish documentation of ICE events

Ensure that all of the ICE events are documented.

Tasks

Document each following events and their event handlers. If documents already exist, ensure they're up to date, accurate, and complete, with appropriate examples. In each case, ensure the corresponding event handler page is done as well.

RTCPeerConnection

RTCIceTransport

Acceptance criteria

  • All event pages exist and are complete
  • All event handler pages exist and are complete
  • All pages are linked from the appropriate places on the site, including the interface overview pages
  • BCD is up to date

Document RTCIceCandidatePairStats and RTCIceCandidateStats

These need to be documented fully.

RTCIceCandidatePairStats

The main page and all subpages need to be written.

Specification: https://w3c.github.io/webrtc-stats/#dom-rtcicecandidatepairstats

RTCIceCandidateStats

The main page is about done but there are a number of subpages that need to be done still.

Specification: https://w3c.github.io/webrtc-stats/#dom-rtcicecandidatestats

Acceptance criteria

  • All missing pages have been created
  • All new content has been submitted for review

KR: Performance audit of MDN

Website performance has a massive influence on UX and SEO. We want to perform an audit of MDN focused on performance with the intent to learn about potential quick wins, big bets and the effort/impact involved.

See this epic in Taiga for previous work.

Firefox 61 Media DDNs

As a Web developer I want to know about the latest Media features in Firefox 61, so that I can test and make use of new technologies.

Firefox 61 DOM DDNs

As a Web developer I want to know about the latest DOM features in Firefox 61, so that I can test and make use of new technologies.

Please update the doc to indicate that glmatrix needs to be included for the examples to work

Hi,

The doc at https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Tutorial/Adding_2D_content_to_a_WebGL_context doesn't mention the dependency on glmatrix as an external script (except for one oblique reference to it in a comment that I saw after debugging extensively and googling about this).

As it stands, most folks will run into the issue of mat4 being undefined, which is confusing in particular because it's a type in the gl scripts. I added a script src to https://mdn.github.io/webgl-examples/tutorial/gl-matrix.js in order to resolve the dependency. I think the doc just needs to mention it more explicitly as a basic requirement for the tutorial.

Thanks,
Aaron

Firefox 61 Layout DDNs

As a Web developer I want to know about the latest Layout features in Firefox 61, so that I can test and make use of new technologies.

Document RTCStatsReport and RTCPeerConnection.getStats()

jib points out that this page offers information about which stats each browser supports: https://webrtc-stats.callstats.io/verify

Acceptance criteria

  • The page for RTCPeerConnection.getStats() is added
  • BCD for getStats() is in place and has valid data for Firefox
  • All RTCStats based dictionaries are documented
  • RTCStatsReport page is complete and up to date
  • Move content about dictionaries from RTCStatsReport page to their own pages; however, completing their documentation is covered under separate items in the WebRTC epic
  • Complete documentation for the base RTCStats object; each member should have a subpage in place with complete content
  • Verify BCD is in place for RTCStatsReport and RTCStats
  • Submit to engineering for review

Document RTCTrackEvent interface

Acceptance criteria:

  • Document the interface (write/update the overview page)
  • Each property in the interface needs to be documented
  • Include links to each of the individual track events

Establish an ET-owned Kubernetes Cluster

Establish a new Kubernetes cluster, billed to Emerging Technologies, with backing services like logging and alerts.

We're establishing the work share between MDN staff, MozMeao SREs, and Mozilla IT.

References:

Acceptance Criteria:

  • ET AWS account (ServiceNow RITM0061714)
  • Kubernetes cluster available, low node resources for testing
  • Servers monitored (currently New Relic, Datadog, with alerts going to Slack)
  • Central logging, with long-term storage (currently fluentd, papertrail and S3)
  • DNS for deployed servers (currently moz.works)

Tasks:

Firefox 61 SVG DDNs

As a Web developer I want to know about the latest SVG features in Firefox 61, so that I can test and make use of new technologies.

Reimplement locale-prefixed URLs

Replace zamboni/amo localized URL infrastructure with one that is compatible with Django 1.11 and closer to Django's i18n toolkit

  • References
    • Bug 1461350 - Re-implement locale-prefixed URLs
    • Task 4386 (Avoid using prefix in reverse()) of US 4053 (Stop using deprecated Django features).

Acceptance Criteria:

  • All current unit tests pass
  • Editing, login, logout, etc. still pass
  • No change in current URLS (continue using en-US, zh-CN, etc.) or ?lang handling
  • Locale-based redirects should still complete (but may change in number of redirects, or 301 vs 302)
  • Compatible with Django 1.11

Tasks:

Select performance KPI with vendor

  • work with vendor to provide all necessary infos
  • present options to team
  • get in input
  • select one to go forward with

Acceptance Criteria:

  • KPI selected that will be used for future performance monitoring

Set up performance monitoring with vendor

  • provide info to vendor about requirements
  • document options
  • get agreement on tool choice from team
  • get contract and budget in place to set up monitoring
  • implement custom KPI monitoring
  • set up speedcurve

Acceptance Criteria

  • Continuous monitoring in place for chosen KPI

KR: Take over SRE responsibilities

With the move of the MDN dev team out of marketing, we don’t have access to the marketing SREs anymore and need to find a way to solve those problems in some other way.

Acceptance criteria

  • Staging and Production are migrated to IT-managed Kubernetes clusters
  • Daily operations moves from MozMEAO SREs to IT and MDN staff
  • MDN resources in MozMEAO are decommissioned

References

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.