{"push_id":1775517561,"size":3,"distinct_size":3,"ref":"refs/heads/show-sessions-queries","head":"2eede83aca48e9c318126af42da108c4a26deb77","before":"a2f8fd27dba2696cc9b6eb2937c4b1efd0aa58fa","commits":[{"sha":"b682b98de39e6d349466a8059954382ce1bade18","author":{"name":"Matt Tracy","email":"31e7b35f7f9f5d76c1e2ef239c79b97264b2f6d0@cockroachlabs.com"},"message":"ui: Organize containers/components by feature\n\nContainers and components are now organized into a \"views\" directory.\nWithin the views directory, views are organized into five top-level\nfeatures, and within each feature there is a \"containers\" and\n\"components\" directory. This organization is intended to help developers\nmore clearly understand what components and containers they should be\nworking on when making a change to the system; in particular, the\n\"shared\" directory should help them understand when a refactoring may\nhave unintended conquences to other views.\n\nWe are keeping the \"container/component\" split within each feature\ndirectory because it does help with dependency management; containers\nnecessarily depend on the state of the entire application (declared in\nthe top-level \"redux' directory), while\ncomponents do not.\n\nThis feature-based heirarchy is only imposed on the \"views\" directory at\nthe moment; the other important dirs, \"util\" and \"redux\", remain at the\ntop level because almost all of their contents are shared across\nmultiple features.\n\nAdditional fix: The refactor exposed a bug where some tests were not\nself-installing a polyfill of \"fetch\" needed for using fetchMock in the JSDom\nbrowser. These tests had been passing previously due to a coincidence of\nexecution order. Fixed by adding a line to \"src/util/fetchMock.ts\".","distinct":true,"url":"https://api.github.com/repos/itsbilal/cockroach/commits/b682b98de39e6d349466a8059954382ce1bade18"},{"sha":"2646bd6a3725ce0f67e05c26478ee844ec9ce616","author":{"name":"Matt Tracy","email":"31e7b35f7f9f5d76c1e2ef239c79b97264b2f6d0@cockroachlabs.com"},"message":"Merge pull request #16250 from mrtracy/mtracy/ui-databases-code-refactor\n\nui: Organize containers/components by feature","distinct":true,"url":"https://api.github.com/repos/itsbilal/cockroach/commits/2646bd6a3725ce0f67e05c26478ee844ec9ce616"},{"sha":"2eede83aca48e9c318126af42da108c4a26deb77","author":{"name":"Bilal Akhtar","email":"fb16ad16a9bed71cf2227a86a2a2aa9d1d9f909f@cockroachlabs.com"},"message":"- Add SHOW SESSIONS and SHOW QUERIES statements\n- Add node-local session registry\n- Make Session struct partially thread-safe (with mu sub-struct)\n- Add Sessions and LocalSessions RPC endpoints, called upon SHOW\n  {SESSIONS,QUERIES}","distinct":true,"url":"https://api.github.com/repos/itsbilal/cockroach/commits/2eede83aca48e9c318126af42da108c4a26deb77"}]}
{"actor":{"display_login":"itsbilal"}}