ĐàLạt.app
活动体验瞬间交友房屋出租
地图日历房屋出租

为越南大叻打造

关于·博客·新闻·发现·房屋出租·goldenfocus.io·RSS

EnglishTiếng Việt한국어中文РусскийFrançais日本語Bahasa MelayuไทยDeutschEspañolIndonesia
返回博客
Changelog2026年1月25日更新于 2026年7月10日已翻译

每日更新:2026年1月24日

显示原文
Daily Update: January 24, 2026 ## A Day of Polish and Power Today was all about making dalat.app shine brighter and work smoother. The team focused on three major areas that users will immediately notice: **Homepage Gets a Glow-Up**: The homepage now features an admin-controlled hero image with focal point editing, plus new view toggles that let you switch between grid, list, and immersive modes. It's like having three different ways to explore what's happening in Đà Lạt. **Events That Make Sense**: Event listings now group by date with clear section headers, making it much easier to scan what's coming up. The "See all" link is now always visible, so you never miss discovering new events. **Invitations That Actually Work**: After a marathon of CSS battles, the celebration modal for event invites finally centers properly on all devices. Sometimes the smallest details require the biggest effort. Behind the scenes, Vietnamese event URLs now look cleaner with romanized slugs, imports handle complex data better, and the whole app scored higher on accessibility tests. It's the kind of day where everything feels a little more polished. ## Daily Changelog: January 24, 2026 ### Events - **user-visible**: Group event list view by date with section headers for better organization - **user-visible**: Always show 'See all' link for upcoming events - **behavior-change**: Romanize Vietnamese diacritics in URL slugs for cleaner URLs - **behavior-change**: Fix import parsing for date/time fields and Slate.js descriptions - **behavior-change**: Fix endTime parsing and improve Supabase client handling ### Homepage - **user-visible**: Add admin-controlled hero image with focal point editing capability - **user-visible**: Add view toggle for grid, list, and immersive display modes - **user-visible**: Fix tab switching by properly reading URL searchParams - **refactor**: Clean minimal hero section design - **refactor**: Simplify view toggle implementation and improve header UX - **refactor**: Remove search from quick actions interface ### Invitations - **behavior-change**: Multiple fixes for celebration modal centering using CSS Grid, Portal rendering, and absolute positioning - **behavior-change**: Show celebration modal and confetti simultaneously - **user-visible**: Remove dismiss hint from celebration modal ### Admin - **refactor**: Reuse EventMediaUpload component for homepage hero management - **refactor**: Remove pro tip from import page - **refactor**: Use consistent generic import logging - **refactor**: Use generic URL importer ### Performance & Quality - **behavior-change**: Improve accessibility for PageSpeed 100 score - **behavior-change**: Don't trigger file picker when clicking existing images - **infrastructure**: Update ESLint config to ignore build directories - **infrastructure**: Add @radix-ui/react-tooltip dependency - **behavior-change**: Fix import translations using server-side translation ### Documentation - **infrastructure**: Add CLI tools section with direct command execution guidance

Technical Details

打磨与提升的一天

今天的重心是让 dalat.app 更加出色、运行更加流畅。团队专注于三个用户能立即感受到的重要方向:

首页焕然一新:首页现在支持由管理员设置的主视觉图片,可调整图片焦点位置,还新增了视图切换功能,让你在网格、列表和沉浸式模式之间自由切换。就像有了三种不同的方式来探索 Đà Lạt 正在发生的一切。

活动一目了然:活动列表现在按日期分组,配有清晰的分节标题,让你更轻松地浏览即将到来的活动。“查看全部”链接现在始终可见,让你随时都能发现新活动。

邀请功能终于正常了:经过一场漫长的 CSS 攻坚战,活动邀请的庆祝弹窗终于在所有设备上都能正确居中显示。有时候,最微小的细节需要付出最大的努力。

在幕后,越南语活动 URL 中的 slug 现在采用不带变音符号的拉丁字母,地址更加简洁;导入功能能更好地处理复杂数据,整个应用在无障碍测试中也取得了更高的分数。这是让一切都显得更加精致的一天。

每日更新日志:2026年1月24日

活动

  • 用户可见:活动列表视图按日期分组,并添加分节标题,使内容更有条理
  • 用户可见:始终显示即将到来的活动的“查看全部”链接
  • 行为变更:将 URL slug 中带有越南语变音符号的字符转为不带变音符号的拉丁字母,使 URL 更简洁
  • 行为变更:修复导入时对日期/时间字段和 Slate.js 描述的解析
  • 行为变更:修复 endTime 解析并改进 Supabase 客户端的处理方式

首页

  • 用户可见:新增由管理员设置的主视觉图片,支持调整图片焦点位置
  • 用户可见:新增视图切换功能,支持网格、列表和沉浸式显示模式
  • 用户可见:通过正确读取 URL 的 searchParams 修复标签页切换问题
  • 重构:主视觉区域采用简洁、极简的设计
  • 重构:简化视图切换功能的实现,并改进页头的用户体验
  • 重构:从快捷操作界面移除搜索功能

邀请

  • 行为变更:使用 CSS Grid、Portal 渲染和绝对定位,多次修复庆祝弹窗的居中问题
  • 行为变更:同时显示庆祝弹窗和彩纸动画
  • 用户可见:移除庆祝弹窗中的关闭提示

管理后台

  • 重构:复用 EventMediaUpload 组件来管理首页主视觉图片
  • 重构:移除导入页面的实用技巧提示
  • 重构:采用一致的通用导入日志记录方式
  • 重构:使用通用 URL 导入器

性能与质量

  • 行为变更:改进无障碍功能,以达到 PageSpeed 100 分的目标
  • 行为变更:点击已有图片时不再触发文件选择器
  • 基础设施:更新 ESLint 配置以忽略构建目录
  • 基础设施:添加 @radix-ui/react-tooltip 依赖
  • 行为变更:使用服务端翻译修复导入时的翻译问题

文档

  • 基础设施:新增 CLI 工具章节,提供直接执行命令的指导