Skip to content

improve agenda layout#82

Open
a-chris wants to merge 1 commit intopalladius:mainfrom
a-chris:improve-agenda-mobile
Open

improve agenda layout#82
a-chris wants to merge 1 commit intopalladius:mainfrom
a-chris:improve-agenda-mobile

Conversation

@a-chris
Copy link
Contributor

@a-chris a-chris commented Feb 24, 2026

Improving agenda layout especially for mobile devices, I'm open to suggestions 🙌

Desktop:
image

Mobile:
image

@netlify
Copy link

netlify bot commented Feb 24, 2026

Deploy Preview for rubycon ready!

Name Link
🔨 Latest commit 2599ca7
🔍 Latest deploy log https://app.netlify.com/projects/rubycon/deploys/699e2fd62a0a3d00085f580d
😎 Deploy Preview https://deploy-preview-82--rubycon.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @a-chris, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on enhancing the visual presentation of the conference agenda, particularly for mobile users. It achieves this by reformatting the Ruby DSL used to define agenda items for improved clarity and by implementing responsive font size adjustments for code blocks, ensuring a more readable and aesthetically pleasing experience across various screen sizes.

Highlights

  • Agenda DSL Refactoring: Refactored the Ruby DSL used for defining the conference agenda, improving readability and consistency of event entries.
  • Code Block Styling: Adjusted font sizes and line height for code blocks across the site, with specific optimizations for improved display on mobile devices.
  • Enhanced Descriptions: Enhanced several agenda descriptions with new emojis for better visual communication and clarity.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • rubycon.it/_includes/dsl/content.rb
    • Updated the DSL method from "Rubycon::Schedule.agenda_of_the_day" to "Rubycon::Agenda.schedule".
    • Reformatted all agenda entries to use multiline arguments for improved readability.
    • Introduced new emojis in several event descriptions, such as for coffee breaks and lightning talks.
    • Removed placeholder comments like "# TBD" and simplified other comments.
  • rubycon.it/_sass/_syntax.scss
    • Set a default font size of "90%" for highlighted code blocks within the syntax styling.
  • rubycon.it/assets/css/style.scss
    • Modified the default font size for inline code within prose from "1rem" to "98%" and added a "line-height" of "1.4".
    • Implemented a media query to reduce the font size of inline code within prose to "90%" on screens smaller than 600px.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request aims to improve the agenda layout, particularly for mobile devices. While the CSS adjustments seem appropriate for this goal, there are critical issues in the Ruby DSL file (rubycon.it/_includes/dsl/content.rb) that will cause the application to crash. Specifically, the code calls a non-existent class and method for the schedule, and the party event is called with an undefined keyword argument. Additionally, this pull request does not adhere to the repository's contribution guidelines, which require updating CHANGELOG.md and incrementing the site_version in _config.yml with every change (lines 50 and 78 of the repository style guide). Please address these critical issues and the process violation.


pause at: "13:00", desc: "🍝 Lunch Break & Networking"

Rubycon::Agenda.schedule(Date.new(2026, 5, 8)) do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

The class Rubycon::Agenda and its method schedule do not appear to be defined. According to _includes/dsl/definition.rb, the correct invocation should be Rubycon::Schedule.agenda_of_the_day. This error will cause a NameError and break the page.

Rubycon::Schedule.agenda_of_the_day(Date.new(2026, 5, 8)) do

Comment on lines +64 to +67
party at: "20:00",
desc: "🍝 Dinner + 🎉 Toga Party!",
where: '🏖️ Bagno 46',
url: 'https://www.bagno46rimini.com/'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

critical

The party method is called with a url keyword argument, which is not defined in its signature in _includes/dsl/definition.rb. This will raise an ArgumentError: unknown keyword: :url and cause a crash. Please remove the url argument or update the method definition if it's intended to be supported.

  party at: "20:00",
     desc: "🍝 Dinner + 🎉 Toga Party!",
     where: '🏖️ Bagno 46'

Comment on lines +7 to +8
check_in at: "08:30",
desc: "Check-in & Welcome Coffee"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The indentation of the DSL method calls is inconsistent. This check_in call is not indented, while subsequent calls (e.g., talk on line 10) are. To improve code readability and maintain a consistent style, all top-level DSL calls within the block should have the same indentation.

  check_in at: "08:30",
     desc: "Check-in & Welcome Coffee"

Comment on lines +36 to +38
lightning_talks at: "14:30",
desc: "⚡️ 5m for everyone who has something to say" ,
tags: %w{ FIFO }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

There is a trailing space before the comma on line 37, which is a minor style issue. Removing it will improve code consistency.

  lightning_talks at: "14:30",
     desc: "⚡️ 5m for everyone who has something to say",
     tags: %w{ FIFO }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant